If we can't just push it after a fast-forward merge, something is wrong. Don't assume it's all fine.

master
Simon Quigley 5 years ago
parent c310fd6ced
commit a8aec7fc37

@ -58,10 +58,10 @@ cd {{ NAME }}
git checkout {{ DEFAULT_BRANCH }}
git checkout -b {{ PACKAGING_BRANCH_S }} || git checkout {{ PACKAGING_BRANCH_S }}
git merge --ff-only {{ DEFAULT_BRANCH }}
git push --set-upstream origin {{ PACKAGING_BRANCH_S }} || echo "cannot push"
git push --set-upstream origin {{ PACKAGING_BRANCH_S }}
git checkout -b {{ PACKAGING_BRANCH_U }} || git checkout {{ PACKAGING_BRANCH_U }}
git merge --ff-only {{ PACKAGING_BRANCH_S }}
git push --set-upstream origin {{ PACKAGING_BRANCH_U }} || echo "cannot push"
git push --set-upstream origin {{ PACKAGING_BRANCH_U }}
</command>
</hudson.tasks.Shell>
</builders>

Loading…
Cancel
Save