mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
Checkout the tag directly, not just the dev branch
This commit is contained in:
parent
a5141b483b
commit
7c42d8c554
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue