check-updates.sh: do git pull --rebase
before pushing
Ensure that no new changes has been made, so push will not fail.
This commit is contained in:
parent
0330ba377b
commit
4107910fe5
@ -59,6 +59,7 @@ if [ -f "${BASEDIR}/github-projects.txt" ]; then
|
||||
fi
|
||||
|
||||
if [ "$GIT_PUSH_PACKAGES" = "true" ]; then
|
||||
git pull --rebase
|
||||
git push
|
||||
fi
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user