Skip to content

Commit 3767575

Browse files
committed
fix: checkout latest tag
1 parent 3f72ae4 commit 3767575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function updateRepository() {
1414
git reset --hard
1515
git pull origin master
1616
git fetch --tags -f
17-
tag="$(git tag | sort -g | tail -1)"
17+
tag="$(git describe --tags --abbrev=0)"
1818
git checkout tags/"$tag"
1919
}
2020

0 commit comments

Comments
 (0)