diff --git a/scripts/update-all.sh b/scripts/update-all.sh index be16f5e..dfaa3d0 100755 --- a/scripts/update-all.sh +++ b/scripts/update-all.sh @@ -34,7 +34,7 @@ checkout_to_latest_tag() { pushd $1 git fetch --tags tag=$(git describe --tags `git rev-list --tags --max-count=1`) - git checkout -b $tag latest + git checkout $tag -b latest git pull origin $tag popd fi