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
|
echo "No bundled output found in dist/" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
- name: Upload to GitHub Release
|
- name: Create GitHub Release and upload bundle
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
TAG_NAME: ${{ github.ref_name }}
|
TAG_NAME: ${{ github.ref_name }}
|
||||||
BUNDLE_PATH: ${{ steps.bundle.outputs.path }}
|
BUNDLE_PATH: ${{ steps.bundle.outputs.path }}
|
||||||
run: |
|
run: |
|
||||||
|
gh release create "$TAG_NAME" --generate-notes --verify-tag || true
|
||||||
gh release upload "$TAG_NAME" "$BUNDLE_PATH" --clobber
|
gh release upload "$TAG_NAME" "$BUNDLE_PATH" --clobber
|
||||||
|
|||||||
Reference in New Issue
Block a user