Fix tags sort

This commit is contained in:
wpetit 2017-03-23 15:51:12 +01:00
parent 7a89eab56e
commit 6b8f6148bb
1 changed files with 1 additions and 1 deletions

View File

@ -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}