From 644cfe1e0a687f02421c83282accca59cfcf376f Mon Sep 17 00:00:00 2001 From: Oksana Grishchenko Date: Tue, 26 Sep 2023 18:17:12 +0200 Subject: [PATCH] EVEREST-429 rebuild pre-release --- .github/workflows/build.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 59822efb..1a5d704f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,11 +15,8 @@ jobs: - name: Set release version run: | # Remove "release-" prefix from github.ref_name - TAG=${{ github.ref_name#release- }} - - # Add "v" prefix to the modified tag - IMAGE_TAG=v${TAG} - echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_ENV + VERSION=${{ GITHUB_REF##*/release- }} + echo "IMAGE_TAG=v${{ VERSION }}" >> $GITHUB_ENV # semantic_version=${RELEASE_BRANCH_NAME#"release-"} # echo "VERSION=v${semantic_version}" >> $GITHUB_ENV