zzz_archive:dev:release_process:opensrf:2.0
This is an old revision of the document!
Rolling an OpenSRF release
- Create a branch:
$ git checkout -b rel_2_0_1 origin/rel_2_0
- Create the Changelog, for example:
$ git log --pretty --numstat --summary b262c54e835a29ea75f22fc661eddd7637ae75aa | ~/bin/git2cl > ChangeLog
and commit it
- Note: I have started creating ChangeLogs that show the cumulative changes for a given release, distinguishing between alphas, betas, and point releases. Basically
cat ChangeLog.old >> ChangeLog.new
and add a header distinguishing each block of changes. That way we will not have to link to ten different ChangeLogs if we reach 1.6.10.
- Bump version numbers in:
- Update the ChangeLog in the tagged release (check it in to the tag)
- Update the version stamp in the tagged release (edit src/perl/lib/OpenSRF.pm)
- README
- Push release branch to origin
- Checkout the branch, if not already
- git archive –prefix=opensrf-<version>/ <this-branch> | (cd ../release/ && tar xvf -)
- cd ../release/opensrf-<version>/
- ./autogen.sh
- tar zcvf opensrf-2.0.1.tar.gz opensrf-2.0.1/
- Bonus hygiene step: Take the tarball you just created and test installing OpenSRF from it; at the very least, ensure that
make check
passes. - md5sum opensrf-2.01.tar.gz > opensrf-2.0.1.tar.gz.md5sum
- cp opensrf-2.0.1/ChangeLog ChangeLog-2.0.1
- scp ChangeLog-2.0.1 opensrf-2.0.1.tar.gz* open-ils.org:~/
- Move the above into the correct download dir
zzz_archive/dev/release_process/opensrf/2.0.1313765530.txt.gz · Last modified: 2022/02/10 13:34 (external edit)