mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-07 16:08:27 +00:00
make sure that we git pull when we checkout
This commit is contained in:
parent
4b4e60d35a
commit
511e17677b
2
debian/orig-tar.sh
vendored
2
debian/orig-tar.sh
vendored
@ -91,6 +91,7 @@ cd llvm-project
|
|||||||
if test -z "$TAG" -a -z "$FINAL_RELEASE"; then
|
if test -z "$TAG" -a -z "$FINAL_RELEASE"; then
|
||||||
# Building a branch
|
# Building a branch
|
||||||
git checkout $BRANCH
|
git checkout $BRANCH
|
||||||
|
git pull
|
||||||
if test $BRANCH != "master"; then
|
if test $BRANCH != "master"; then
|
||||||
VERSION=$(echo $BRANCH|cut -d/ -f2|cut -d. -f1)
|
VERSION=$(echo $BRANCH|cut -d/ -f2|cut -d. -f1)
|
||||||
if ! echo "$MAJOR_VERSION"|grep -q "$VERSION"; then
|
if ! echo "$MAJOR_VERSION"|grep -q "$VERSION"; then
|
||||||
@ -120,6 +121,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
git checkout "$git_tag" > /dev/null
|
git checkout "$git_tag" > /dev/null
|
||||||
|
git pull
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user