fixup! Fix git merge during schedule update
This commit is contained in:
parent
d8019a11eb
commit
38dec75ddd
1 changed files with 2 additions and 2 deletions
|
@ -24,13 +24,13 @@ fi
|
||||||
IFS=/ read git_remote git_refspec <<EOF
|
IFS=/ read git_remote git_refspec <<EOF
|
||||||
$git_upstream
|
$git_upstream
|
||||||
EOF
|
EOF
|
||||||
git fetch --quiet --no-tags "${git_remote}/${git_refspec}"
|
git fetch --quiet --no-tags "$git_remote" "$git_refspec"
|
||||||
if [ "$(git rev-parse "$PRODUCTION_BRANCH")" = "$(git rev-parse "$git_upstream")" ]; then
|
if [ "$(git rev-parse "$PRODUCTION_BRANCH")" = "$(git rev-parse "$git_upstream")" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exitcode=0
|
exitcode=0
|
||||||
git merge --quiet --ff-only "$git_remote" "$git_refspec"
|
git merge --quiet --ff-only "${git_remote}/${git_refspec}"
|
||||||
python3 -m compileall -q -x - www || exitcode=$?
|
python3 -m compileall -q -x - www || exitcode=$?
|
||||||
chgrp -R www-data www || exitcode=$?
|
chgrp -R www-data www || exitcode=$?
|
||||||
chmod -R g+rX-w,o+X-w www || exitcode=$?
|
chmod -R g+rX-w,o+X-w www || exitcode=$?
|
||||||
|
|
Loading…
Reference in a new issue