diff --git a/.github/workflows/cut_release.yml b/.github/workflows/cut_release.yml index 380794d02..8ac3f8fa5 100644 --- a/.github/workflows/cut_release.yml +++ b/.github/workflows/cut_release.yml @@ -23,7 +23,8 @@ jobs: run: | LATEST_TAG=$(git tag | grep -E 'v1\.3\.[0-9]+' | grep -v 'rc' | sort -V | tail -n 1) PATCH_VERSION="${LATEST_TAG##*.}" - echo "::set-output name=patch_version::$((PATCH_VERSION + 1))" + NEW_TAG="v1.3.${PATCH_VERSION+1}" + echo "::set-output name=patch_version::$NEW_TAG" shell: bash - name: Bump version and push tag