Skip to content

Commit

Permalink
.github/workflows/build: fix release name on manual builds
Browse files Browse the repository at this point in the history
Use the ref provided in input instead of latest main branch SHA to tag
the release.
  • Loading branch information
awly committed Jan 5, 2024
1 parent d378d4c commit 64761a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Release name can't be the same as tag name, sigh
tag_name: build-${{ github.sha }}
release_name: ${{ github.sha }}
tag_name: build-${{ inputs.ref || github.sha }}
release_name: ${{ inputs.ref || github.sha }}
draft: false
prerelease: true

Expand Down

0 comments on commit 64761a3

Please sign in to comment.