Checkout forcibly.

This commit is contained in:
Alan Noble 2018-06-22 18:14:07 +09:30
parent 82977fba23
commit 2cd154e769
1 changed files with 1 additions and 1 deletions

View File

@ -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