Skip to content

Commit 7786428

Browse files
Attach browser bundles to release
1 parent 0de517d commit 7786428

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,9 @@ jobs:
3535
env:
3636
VERSION_TAG: ${{ github.ref_name }}
3737

38-
- name: Create GitHub Release
38+
- name: Upload artifacts to GitHub Release
3939
env:
4040
GH_TOKEN: ${{ github.token }}
4141
run: |
4242
TAG="${{ github.ref_name }}"
43-
PRERELEASE_FLAG=""
44-
if [[ "$TAG" == *-* ]]; then
45-
PRERELEASE_FLAG="--prerelease"
46-
fi
47-
gh release create "$TAG" \
48-
build/bundle/*.zip build/bundle/*.xpi \
49-
--generate-notes \
50-
$PRERELEASE_FLAG
43+
gh release upload "$TAG" build/bundle/*.zip build/bundle/*.xpi

0 commit comments

Comments
 (0)