From 962815010df40b67d669f56ddc2f700bd6b78686 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Sat, 20 Jan 2024 19:44:33 -0500 Subject: [PATCH] Change the tag for the release --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e56e41544291c..76f139d454159 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,9 +51,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh release create master \ + git_hash=$(git rev-parse --short "$GITHUB_SHA") + gh release create master-$git_hash \ /home/runner/work/gcc/gcc-13.deb \ --prerelease \ --repo="$GITHUB_REPOSITORY" \ - --title="${GITHUB_REPOSITORY#*/} $(git rev-parse --short "$GITHUB_SHA")" \ + --title="${GITHUB_REPOSITORY#*/} $git_hash" \ --generate-notes