Skip to content

Commit 930141c

Browse files
authored
Update tag-patch-incre.yaml
1 parent d37e0d4 commit 930141c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tag-patch-incre.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
TOKEN: ${{ secrets.TAG_CREATION_TOKEN_PUBLIC }}
2323
run: |
2424
echo $TOKEN | gh auth login --with-token
25-
latest_tag=$(git tag --sort=refname | tail -n 1)
25+
latest_tag=$(git tag | sort -V | tail -n 1)
2626
echo "Latest tag: $latest_tag"
2727
2828
# Extract major and minor versions

0 commit comments

Comments
 (0)