From 2cd154e7697759ef12d852c6a5af9ae8693254ed Mon Sep 17 00:00:00 2001 From: Alan Noble Date: Fri, 22 Jun 2018 18:14:07 +0930 Subject: [PATCH] Checkout forcibly. --- cmd/revid-cli/upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/revid-cli/upgrade.sh b/cmd/revid-cli/upgrade.sh index b1b36cf1..3e0277f3 100755 --- a/cmd/revid-cli/upgrade.sh +++ b/cmd/revid-cli/upgrade.sh @@ -22,7 +22,7 @@ fi for dir in ${SrcDirs[@]}; do pushd $dir git fetch $GitFlags --depth=1 origin refs/tags/$NewTag:refs/tags/$NewTag - git checkout $GitFlags1 tags/$NewTag + git checkout $GitFlags --force tags/$NewTag if [ ! "$?" == 0 ]; then exit 1 fi