mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-20 22:03:48 +00:00
fix(release): create release before uploading bundle
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -35,10 +35,11 @@ jobs:
|
||||
echo "No bundled output found in dist/" >&2
|
||||
exit 1
|
||||
|
||||
- name: Upload to GitHub Release
|
||||
- name: Create GitHub Release and upload bundle
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
TAG_NAME: ${{ github.ref_name }}
|
||||
BUNDLE_PATH: ${{ steps.bundle.outputs.path }}
|
||||
run: |
|
||||
gh release create "$TAG_NAME" --generate-notes --verify-tag || true
|
||||
gh release upload "$TAG_NAME" "$BUNDLE_PATH" --clobber
|
||||
|
||||
Reference in New Issue
Block a user