From 511e17677b0d52fa57e567bd96c1924aab658340 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 30 Oct 2019 23:55:36 +0100 Subject: [PATCH] make sure that we git pull when we checkout --- debian/orig-tar.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh index 030f9c2a..261c6f66 100755 --- a/debian/orig-tar.sh +++ b/debian/orig-tar.sh @@ -91,6 +91,7 @@ cd llvm-project if test -z "$TAG" -a -z "$FINAL_RELEASE"; then # Building a branch git checkout $BRANCH + git pull if test $BRANCH != "master"; then VERSION=$(echo $BRANCH|cut -d/ -f2|cut -d. -f1) if ! echo "$MAJOR_VERSION"|grep -q "$VERSION"; then @@ -120,6 +121,7 @@ else fi git checkout "$git_tag" > /dev/null + git pull fi