Commit b655890d authored by Rafael Monnerat's avatar Rafael Monnerat 👻

Helper script to simplify the update of the release candidate

  This helps on updating the 1.0 branch (release candidate) with the result of the latest tests.
parent 4f46ceb3
#!/bin/bash
# Checkout 1.0
git checkout 1.0
# Reset and Clean
git reset --hard origin/1.0
git clean -f
# Merge master
git merge origin/master -m "Update Release Candidate"
# Revert changes from master
git diff HEAD..origin/master | git apply
# Download patch to update revisions based on tests
wget -O update-release.sh https://nexedi.erp5.net/portal_skins/custom/TestResultModule_getReleaseCandidateRevision
# Suggestion
echo "Review and run
bash update-release.sh
git commit -m 'Update git revisions' -a
git push origin 1.0
DONT USE THIS SCRIPT TO RELEASE SLAPOS COOKBOOK
"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment