Commit b655890d by 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.
1 parent 4f46ceb3
Showing 1 changed file with 30 additions and 0 deletions
#!/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
"
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!