Skip to content

Commit e9fb8d8

Browse files
authored
Add GitHub release link as AMO release notes (#9067)
1 parent 221867d commit e9fb8d8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
Version:
1414
outputs:
1515
created: ${{ env.DAILY_VERSION_CREATED }}
16+
version: ${{ env.DAILY_VERSION }}
1617
runs-on: ubuntu-latest
1718
steps:
1819
- uses: actions/checkout@v4
@@ -68,8 +69,10 @@ jobs:
6869
steps:
6970
- uses: actions/checkout@v4
7071
- uses: actions/download-artifact@v4
72+
- name: Create release notes
73+
run: echo "{\"release_notes\":{\"en-US\":\"https://github.com/${{ github.repository }}/releases/tag/${{ needs.Version.outputs.version }}\"}}" > /tmp/amo-metadata.json
7174
- name: Upload build and source code
72-
run: npx web-ext@8 sign --channel listed
75+
run: npx web-ext@8 sign --channel listed --amo-metadata /tmp/amo-metadata.json
7376
working-directory: artifact
7477
env:
7578
WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }}

0 commit comments

Comments
 (0)