mirror of https://bitbucket.org/ausocean/av.git
Checkout forcibly.
This commit is contained in:
parent
82977fba23
commit
2cd154e769
|
@ -22,7 +22,7 @@ fi
|
||||||
for dir in ${SrcDirs[@]}; do
|
for dir in ${SrcDirs[@]}; do
|
||||||
pushd $dir
|
pushd $dir
|
||||||
git fetch $GitFlags --depth=1 origin refs/tags/$NewTag:refs/tags/$NewTag
|
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
|
if [ ! "$?" == 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue