From 723b2f9cbbda5344556991341c716f75d678af2f Mon Sep 17 00:00:00 2001 From: Oleg Smirnov Date: Sat, 17 May 2025 18:52:59 +0200 Subject: [PATCH] change git tag suffix to something more unique --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 256e775..8553191 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,7 +73,7 @@ jobs: contents: write env: - TAG: v${{ needs.meta.outputs.latest-version }} + VERSION: ${{ needs.meta.outputs.latest-version }} COMMIT: ${{ github.event.pull_request.base.sha || github.event.before }} # either the PR base ref or previous commit in the branch GH_REPOSITORY: ${{ github.repository }} @@ -82,6 +82,7 @@ jobs: - name: Create a release for previous implementation version env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAG: harness-release-${{ env.VERSION }} run: > gh api --method POST @@ -90,8 +91,8 @@ jobs: /repos/${GH_REPOSITORY}/releases -f "tag_name=$TAG" -f "target_commitish=$COMMIT" - -f "name=$TAG" - -f "body=Automatic release for $TAG" + -f "name=$VERSION" + -f "body=Automatic release for $VERSION" -F "generate_release_notes=true"