Skip to content

Commit 9628150

Browse files
committed
Change the tag for the release
1 parent 58d3828 commit 9628150

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ jobs:
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5353
run: |
54-
gh release create master \
54+
git_hash=$(git rev-parse --short "$GITHUB_SHA")
55+
gh release create master-$git_hash \
5556
/home/runner/work/gcc/gcc-13.deb \
5657
--prerelease \
5758
--repo="$GITHUB_REPOSITORY" \
58-
--title="${GITHUB_REPOSITORY#*/} $(git rev-parse --short "$GITHUB_SHA")" \
59+
--title="${GITHUB_REPOSITORY#*/} $git_hash" \
5960
--generate-notes

0 commit comments

Comments
 (0)