update shell script

This commit is contained in:
Eric Fennis
2021-05-16 12:26:10 +02:00
parent d218851416
commit 997daac4e6

View File

@@ -4,7 +4,7 @@
## get highest version tag for all branches
function highest_tag(){
local TAG=$(git tag --list 2>/dev/null | tail -n1 2>/dev/null)
local TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
echo "$TAG"
}