chg: [deployment] updated checkout_to_latest_tag to just checkout the latest tag without -b option.
parent
18e5a701cf
commit
65335bf43c
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue