chg: [deployment] updated checkout_to_latest_tag to just checkout the latest tag without -b option.

phpword_v0.18.1
Cédric Bonhomme 2021-05-12 10:19:43 +02:00
parent 18e5a701cf
commit 65335bf43c
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 3 additions and 3 deletions

View File

@ -33,9 +33,9 @@ checkout_to_latest_tag() {
if [ -d $1 ]; then
pushd $1
git fetch --tags
tag=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $tag -b latest
git pull origin $tag
tag=$(git describe --tags)
git checkout $tag
#git pull origin $tag
popd
fi
}