Skip to content

Commit 8541421

Browse files
authored
Fixed order to get last tag (#186)
1 parent b37940d commit 8541421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

0 commit comments

Comments
 (0)