force pristine-tar branch to latest version from origin
This commit is contained in:
parent
188035f0e3
commit
38ad096a13
|
|
@ -20,10 +20,9 @@ if [[ ! -f $lockfile ]] ; then
|
|||
build-essential dpkg-dev fakeroot git-buildpackage pristine-tar $BUILD_DEPENDS
|
||||
apt-get -qy autoremove --purge
|
||||
dpkg-checkbuilddeps
|
||||
echo "ensure pristine-tar branch exists"
|
||||
git branch -a
|
||||
git remote -v
|
||||
git branch --track pristine-tar origin/pristine-tar || true
|
||||
echo "ensure pristine-tar branch exists and is current"
|
||||
git fetch --all || true
|
||||
git checkout -B pristine-tar origin/pristine-tar
|
||||
echo "make $CI_COMMIT_REF_NAME branch current for gbp"
|
||||
git checkout -B "$CI_COMMIT_REF_NAME" "$CI_COMMIT_SHA"
|
||||
if [ -z "$CI_COMMIT_TAG" ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue