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" ]]
|
if [[ ${BUILD_TAG} == "last" ]]
|
||||||
then
|
then
|
||||||
tags=$(git tag master -l "release/*"|sort -r)
|
tags=$(git tag master -l "release/*" | tr '_' '-' | sort -rV)
|
||||||
else
|
else
|
||||||
tagbranch="build-tag-${BUILD_TAG}"
|
tagbranch="build-tag-${BUILD_TAG}"
|
||||||
git checkout -b ${tagbranch}
|
git checkout -b ${tagbranch}
|
||||||
|
|
Loading…
Reference in New Issue