Reverted to the previous tags switch.
parent
980d53c14f
commit
91ecee6088
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue