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
|
fi
|
||||||
|
|
||||||
if [ "$GIT_PUSH_PACKAGES" = "true" ]; then
|
if [ "$GIT_PUSH_PACKAGES" = "true" ]; then
|
||||||
|
git pull --rebase
|
||||||
git push
|
git push
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user