From ecc3adbdd0b3aed791befaf51dd8d635e93d3aed Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 28 Mar 2022 10:26:55 +0200 Subject: [PATCH] fix git command `git fetch --all` in startscript. It doesnt take remote repository as parameter --- deployment/bare_metal/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/bare_metal/start.sh b/deployment/bare_metal/start.sh index 250971419..03ba87445 100755 --- a/deployment/bare_metal/start.sh +++ b/deployment/bare_metal/start.sh @@ -67,7 +67,7 @@ BRANCH=${1:-master} echo "Starting with git pull - branch:$BRANCH" >> $UPDATE_HTML cd $PROJECT_ROOT # TODO: this overfetches alot, but ensures we can use start.sh with tags -git fetch origin --all +git fetch --all git checkout $BRANCH git pull export BUILD_COMMIT="$(git rev-parse HEAD)"