Skip to content

Commit

Permalink
Update cut_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tyuchn authored Oct 25, 2023
1 parent 9b9b6ef commit 8d9c9ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cut_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d9c9ac

Please sign in to comment.