fix git command git fetch --all in startscript. It doesnt take remote repository as parameter

This commit is contained in:
Ulf Gebhardt 2022-03-28 10:26:55 +02:00
parent 33a3deec60
commit ecc3adbdd0
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -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)"