Utiliser git describe pour récupérer le tag en fonction de la branche active.
Ref #4
This commit is contained in:
parent
60b0eaad53
commit
1c146441fb
@ -15,7 +15,6 @@ tamarin_debug "BUILD TAG IS ${BUILD_TAG}"
|
||||
|
||||
if [[ ${BUILD_TAG} == "last" ]]
|
||||
then
|
||||
#tags=$(git tag master -l "release/*" | tr '_' '-' | sort -rV)
|
||||
tags=$(git describe --match "release/*" --abbrev=0)
|
||||
else
|
||||
tagbranch="build-tag-${BUILD_TAG}"
|
||||
|
Loading…
Reference in New Issue
Block a user