Skip to content

Commit e19e092

Browse files
committed
Fixed order to get last tag
1 parent 8541421 commit e19e092

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-push-package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
run: |
2626
echo "[INFO] Get latest tag"
2727
git fetch --all --tags
28+
echo "[INFO] Using git tag --sort version:refname"
2829
RELEASE_VERSION=$(git tag --sort version:refname | tail -1)
2930
RELEASE_VERSION=$(echo $RELEASE_VERSION | sed s/v//)
3031
echo $RELEASE_VERSION

0 commit comments

Comments
 (0)