Skip to content

Commit 52a9c3a

Browse files
Update build.yml
1 parent ed38caf commit 52a9c3a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
env:
2222
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2323
run: |
24-
gh release create ${{ github.ref_name }} \
24+
VERSION="v1.0.0-build.${{ github.run_number }}-${GITHUB_SHA::7}"
25+
gh release create "$VERSION" \
2526
--title "Release ${{ github.ref_name }}" \
2627
--notes "Automated release for tag ${{ github.ref_name }}" \
2728
bf

0 commit comments

Comments
 (0)