Skip to content

Commit

Permalink
Include commit hash in draft tag name
Browse files Browse the repository at this point in the history
Otherwise two builds on the same day conflict.
  • Loading branch information
jrtc27 committed Mar 19, 2021
1 parent a071932 commit f2ea442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: draft-${{ steps.date.outputs.date }}
tag_name: draft-${{ steps.date.outputs.date }}-${{ github.sha }}
release_name: Draft release ${{ steps.date.outputs.date }}
body: Latest snapshot (${{ github.sha }})
prerelease: true
Expand Down

0 comments on commit f2ea442

Please sign in to comment.