Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 10 additions & 23 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Loading