mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fetch all for tag compatibility
This commit is contained in:
parent
61e5ed2878
commit
cf36ab72ee
@ -66,7 +66,8 @@ pm2 stop all
|
|||||||
BRANCH=${1:-master}
|
BRANCH=${1:-master}
|
||||||
echo "Starting with git pull - branch:$BRANCH<br>" >> $UPDATE_HTML
|
echo "Starting with git pull - branch:$BRANCH<br>" >> $UPDATE_HTML
|
||||||
cd $PROJECT_ROOT
|
cd $PROJECT_ROOT
|
||||||
git fetch origin $BRANCH
|
# TODO: this overfetches alot, but ensures we can use start.sh with tags
|
||||||
|
git fetch origin --all
|
||||||
git checkout $BRANCH
|
git checkout $BRANCH
|
||||||
git pull
|
git pull
|
||||||
export BUILD_COMMIT="$(git rev-parse HEAD)"
|
export BUILD_COMMIT="$(git rev-parse HEAD)"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user