Changes between Version 15 and Version 16 of ReleaseProcess
- Timestamp:
- 04/27/11 09:31:23 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReleaseProcess
v15 v16 5 5 See also: VersioningPolicy 6 6 7 = Approaching CKAN release - alpha release =7 = Branching for CKAN release - beta release = 8 8 9 1. Change the version number to the next version alpha in ckan/__init__.py e.g. 1.2a 10 1. Commit and push this change. 11 1. Bring metastable branch in line with default: 9 Branch and release a 'beta' when you have new features you want to burn in. We normally try out a beta release on ckan.net for a week before it is released properly. 10 11 1. Run the most thorough tests on the code. 12 1. Create the branch for the new version, named without the beta letter and according to the branch naming policy http://wiki.ckan.net/Mercurial : 12 13 {{{ 13 $ hg up -C metastable 14 $ hg merge -r default 15 $ nosetests ckan/tests 16 $ hg ci -m '[merge] from release 1.1a.' 17 $ hg push 14 $ hg branch release-v1.2 15 }}} 16 1. Change the version number to the new version, but 'beta' in ckan/__init__.py e.g. 1.2b (this will show-up in the web interface, bottom-right corner.) 17 1. Change the pip-requirements.txt to refer to the new branch (buildbot will fail if you forget): 18 {{{ 19 -e hg+https://bitbucket.org/okfn/[email protected]#egg=ckan 20 # CKAN dependencies 21 -r https://bitbucket.org/okfn/ckan/raw/release-v1.2/requires/lucid_conflict.txt 22 -r https://bitbucket.org/okfn/ckan/raw/release-v1.2/requires/lucid_present.txt 23 -r https://bitbucket.org/okfn/ckan/raw/release-v1.2/requires/lucid_missing.txt 24 }}} 25 1. Commit these changes: 26 {{{ 27 $ hg ci -m '[release] branch.' 18 28 }}} 19 29 30 = Doing a proper CKAN release = 20 31 21 = Doing a CKAN release = 32 Once the beta has been tested manually on a live instance for a week you can do a release. 22 33 23 1. Test the code satisfactorily.34 1. Run the most thorough tests. 24 35 1. Summarise the tickets going in this release in the ckan/doc/CHANGELOG.rst 25 1. Remove the pre-release letter in the version number in ckan/__init__.py e.g. 1.1c-> 1.136 1. Remove the beta letter in the version number in ckan/__init__.py e.g. 1.1b -> 1.1 26 37 1. Commit this change. 27 38 1. Update the internationalization POT file and commit it: … … 57 68 $ hg up default 58 69 $ hg merge -r release-v1.3.2 70 $ hg revert ckan/__init__.py pip-requirements.txt 59 71 $ nosetests --ckan ckan/tests 60 72 $ hg ci -m '[merge] from release-v1.3.2.'