Checkout the tag directly, not just the dev branch

This commit is contained in:
Alexandre Aubin 2020-12-01 23:04:51 +00:00
parent a5141b483b
commit 7c42d8c554

View file

@ -50,8 +50,8 @@ function checkout_tag()
cd $GIT_REPOS/$PROJECT
git fetch --quiet
git fetch --tags --quiet
git checkout dev --quiet
git reset --hard dev --quiet
git checkout $TAG --quiet
git reset --hard $TAG --quiet
# Validate constrains for the version number given (is in changelog + has corresponding tag)