diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-02 19:09:28 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-02 19:09:28 -0600 |
| commit | 8dcff25f75f1904fd73af82cf37563f1fb3ffa39 (patch) | |
| tree | 76daaecf363382b2df99d4e643443f64c41ef07e | |
| parent | 619e81173d5474b60cf6cc3630197794d77ea540 (diff) | |
fix: create GitHub release if it doesn't existv0.1.1
- Use gh release create with fallback to upload
- Prevents "release not found" error in workflow
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
| -rw-r--r-- | .github/workflows/release.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 619c787..eb3b22a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,6 @@ jobs: - run: | cd target/${{ matrix.target }}/release tar czf ../../../${{ matrix.name }}.tar.gz ghetto-blaster - - run: gh release upload ${{ github.ref_name }} ${{ matrix.name }}.tar.gz + - run: gh release create ${{ github.ref_name }} ${{ matrix.name }}.tar.gz --generate-notes || gh release upload ${{ github.ref_name }} ${{ matrix.name }}.tar.gz env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
