Utiliser git describe pour récupérer le tag en fonction de la branche active.

Ref #4
This commit is contained in:
Benjamin Bohard 2018-03-21 11:14:16 +01:00
parent 60b0eaad53
commit 1c146441fb
1 changed files with 0 additions and 1 deletions

View File

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