Reverted to the previous tags switch.

phpword_v0.18.1
Ruslan Baidan 2021-05-12 17:00:25 +02:00
parent 980d53c14f
commit 91ecee6088
No known key found for this signature in database
GPG Key ID: 4B7724C136BF1D89
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ done
checkout_to_latest_tag() {
if [ -d $1 ]; then
pushd $1
git fetch --tags -f
tag=$(git describe --tags)
git fetch --tags
tag=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $tag -b $tag
git pull origin $tag
popd