Fix tags sort
This commit is contained in:
parent
7a89eab56e
commit
6b8f6148bb
@ -15,7 +15,7 @@ tamarin_debug "BUILD TAG IS ${BUILD_TAG}"
|
||||
|
||||
if [[ ${BUILD_TAG} == "last" ]]
|
||||
then
|
||||
tags=$(git tag master -l "release/*"|sort -r)
|
||||
tags=$(git tag master -l "release/*" | tr '_' '-' | sort -rV)
|
||||
else
|
||||
tagbranch="build-tag-${BUILD_TAG}"
|
||||
git checkout -b ${tagbranch}
|
||||
|
Loading…
Reference in New Issue
Block a user