-
Notifications
You must be signed in to change notification settings - Fork 23
Release Procedure
Andre Merzky edited this page May 18, 2015
·
39 revisions
-
Release Manager: AM
-
Preconditions:
- if release is a milestone release: no open tickets for milestone
- all Jenkins tests on
devel
pass (http://ci.radical-project.org/job/radical.pilot.devel/branch/devel/)
- Create branch from latest master: e.g.
git checkout master; git pull; git checkout -b release/X.Y.Z
- Update version in
VERSION
:echo "X.Y.Z" > VERSION
- Make modifications to branch: usually by merging devel
git merge devel
(make sure to pull devel before) - Update release notes:
$EDITOR CHANGES.md
- Commit and push:
git commit -a; git push
- Add release branch to Jenkins tests
- Create pull-request of release branch to master: https://github.com/radical-cybertools/radical.pilot/pulls
- Wait on and/or nudge other developer to review and test
- If not approved,
GOTO 3
- Create branch from latest master: e.g.
git checkout master; git pull; git checkout -b hotfix/issueXXX
- Update version in
VERSION
:echo "X.Y.Z" > VERSION
- Make modifications to branch: either by
$EDITOR
orgit cherry-pick abcsuperdupercommit890
(The latter is preferred) - Update release notes:
$EDITOR CHANGES.md
- Commit and push:
git commit -a; git push
- Create pull-request of hotfix branch to master: https://github.com/radical-cybertools/radical.pilot/pulls
- Wait on and/or nudge other developer to review and test
- If not approved,
GOTO 3
- If approved, move to master branch and pull in merged content:
git checkout master; git merge release/X.Y.Z
- Create tag:
git tag -a vX.Y.Z -m "Creative message about release, preferably including animals"
- Push tag to github:
git push origin vX.Y.Z
- Release on pypi:
python setup.py sdist upload
- Verify pypi version on: https://pypi.python.org/pypi/radical.pilot
- Announce Release to audience: ``` To: radical-cybertools@googlegroups.com, radical-pilot-users@googlegroups.com, radical-pilot-devel@googlegroups.com Subject: Announcing RADICAL-Pilot vX.Y.Z
Dear Users,
We are happy to announce a new release of RADICAL-Pilot.
This release brings $MAJOR_NEW_FEATURE / $BUGFIX ...
$CHANGELOG_ENTRY
Installation instructions are at: http://radicalpilot.readthedocs.org/en/latest/installation.html
$CLOSING,
$NAME
```
GOTO "Post Release"
- Merge master into devel branch:
git checkout devel; git merge master
- Merge master into readthedocs branch:
git checkout readthedocs; git merge master
- Take nap