From bcbf3783da37a54fc958724198884dd9567d7d0a Mon Sep 17 00:00:00 2001 From: Shane <6071159+smashedr@users.noreply.github.com> Date: Mon, 9 Mar 2026 22:17:58 -0700 Subject: [PATCH 1/2] Update Release Workflow --- .github/workflows/release.yaml | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1240741..3d008f3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -68,18 +68,6 @@ jobs: with: name: artifacts - - name: "Unzip Artifact" - run: | - unzip ./*firefox* -d src - - - name: "Debug Artifact" - continue-on-error: true - run: | - ls -lAh src - echo "::group::cat src/manifest.json" - cat -n src/manifest.json - echo "::endgroup::" - - name: "Generate Release Notes" id: notes run: | @@ -92,18 +80,17 @@ jobs: name: "amo-metadata.json" json: '{"version": {"release_notes": {"en-US": "${{ steps.notes.outputs.notes }}"}}}' - - name: "Download Source" - run: | - echo "${{ github.event.release.tarball_url }}" - curl -L "${{ github.event.release.tarball_url }}" -o source.tar.gz - file source.tar.gz - - - name: "Debug Source" + - name: "Debug" continue-on-error: true run: | ls -lAh . - echo "::group::ls src" - ls -lAh src + file "${{ env.PACKAGE_NAME }}-${{ github.event.release.tag_name }}-firefox.zip" + yq -e '.version | test("${{ github.event.release.tag_name }}")' firefox-mv3/manifest.json + echo "::group::ls firefox-mv3" + ls -lAh firefox-mv3 + echo "::endgroup::" + echo "::group::cat firefox-mv3/manifest.json" + cat -n firefox-mv3/manifest.json echo "::endgroup::" echo "::group::cat amo-metadata.json" cat -n amo-metadata.json @@ -115,9 +102,9 @@ jobs: --api-key="${{ secrets.FIREFOX_API_KEY }}" \ --api-secret="${{ secrets.FIREFOX_API_SECRET }}" \ --channel="${{ env.MOZILLA_CHANNEL }}" \ - --source-dir="src" \ + --source-dir="firefox-mv3" \ --amo-metadata="amo-metadata.json" \ - --upload-source-code="source.tar.gz" + --upload-source-code="${{ env.PACKAGE_NAME }}-${{ github.event.release.tag_name }}-firefox.zip" - name: "Rename Signed Artifact" working-directory: web-ext-artifacts From 6ab39fdd2a6aeacd2a416d09f8a345926dabe107 Mon Sep 17 00:00:00 2001 From: Shane <6071159+smashedr@users.noreply.github.com> Date: Mon, 9 Mar 2026 22:23:17 -0700 Subject: [PATCH 2/2] Update CONTRIBUTING.md --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a65f458..6ed0d96 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,9 +55,9 @@ Then run using your device `name`. npm run android -- name ``` -# Building +## Building -## Package All +### Package All This type checks the project, builds and zips to the `.output` directory.