Skip to content

Commit

Permalink
chore: update release workflow to use ref_name and handle prereleases
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Nov 20, 2024
1 parent 03475ad commit 12dfdfa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/Build-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
body_path: ./CHANGELOG.md
prerelease: ${{ contains(github.ref_name, 'beta') }}

- uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 12dfdfa

Please sign in to comment.