Skip to content

Commit 5169c2a

Browse files
Copilotfregante
andcommitted
Use DAILY_VERSION job output instead of jq to get version
Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
1 parent ae833a9 commit 5169c2a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
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
@@ -69,9 +70,7 @@ jobs:
6970
- uses: actions/checkout@v4
7071
- uses: actions/download-artifact@v4
7172
- name: Create release notes
72-
run: |
73-
VERSION=$(jq -r '.version' artifact/manifest.json)
74-
echo "{\"release_notes\":{\"en-US\":\"https://github.com/${{ github.repository }}/releases/tag/$VERSION\"}}" > /tmp/amo-metadata.json
73+
run: echo "{\"release_notes\":{\"en-US\":\"https://github.com/${{ github.repository }}/releases/tag/${{ needs.Version.outputs.version }}\"}}" > /tmp/amo-metadata.json
7574
- name: Upload build and source code
7675
run: npx web-ext@8 sign --channel listed --amo-metadata /tmp/amo-metadata.json
7776
working-directory: artifact

0 commit comments

Comments
 (0)