Skip to content

Commit 21458f2

Browse files
committed
Revert release change, add step for uploading assets
1 parent 095142b commit 21458f2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/submit.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ jobs:
8989

9090
- name: Release
9191
if: ${{ !inputs.dryRun }}
92-
run: gh release create v${{ steps.version.outputs.newVersion }} .output/*.zip -F CHANGELOG.md
93-
env:
94-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92+
run: pnpx changelogen@latest gh release ${{ steps.version.outputs.newVersion }} --token ${{ github.token }}
93+
94+
# Don't upload sources zip - it can contain .env files, which may include secrets
95+
- name: Upload ZIPs
96+
if: ${{ !inputs.dryRun }}
97+
run: gh release upload ${{ steps.version.outputs.newVersion }} .output/*-chrome.zip .output/*-firefox.zip

0 commit comments

Comments
 (0)