zzz_archive:dev:release_process:opensrf:2.0
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dev:release_process:opensrf:2.0 [2011/08/19 14:44] – md5 file extension, not md5sum dbs | dev:release_process:opensrf:2.0 [2012/10/30 23:42] – autoreconf now dbs | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Rolling an OpenSRF release ===== | ===== Rolling an OpenSRF release ===== | ||
- | - Create a local working branch for the release: < | + | - Create a local working branch for the release: < |
- Create the Changelog containing the changes for this release only. Since 1.6.0 we have been creating ChangeLogs that show the cumulative changes for a given release in reverse chronological order, distinguishing between alphas, betas, and point releases, with 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 for example: <code bash> | - Create the Changelog containing the changes for this release only. Since 1.6.0 we have been creating ChangeLogs that show the cumulative changes for a given release in reverse chronological order, distinguishing between alphas, betas, and point releases, with 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 for example: <code bash> | ||
- | $ git log --pretty --numstat --summary | + | $ # get the date of the last commit to the previous release |
- | $ echo '0r ChangeLog.2.0.1 | + | $ git log osrf_rel_2_0_1 # last commit was 2011-08-19 |
- | . | + | $ # this is not perfect, but it's close enough... |
- | 0a | + | $ git log --pretty --numstat --summary --since 2011-08-19 > ChangeLog.2.1.0 |
- | Changelog for 2.0.1 | + | </ |
- | =================== | + | |
- | + | ||
- | . | + | |
- | w' | ed ChangeLog</ | + | |
- Bump version numbers in the temporary working branch: | - Bump version numbers in the temporary working branch: | ||
+ | * Update the AC_INIT() version number in the tagged release in '' | ||
* Update the ChangeLog in the tagged release | * Update the ChangeLog in the tagged release | ||
* Update the version stamp in the tagged release (edit src/ | * Update the version stamp in the tagged release (edit src/ | ||
* README | * README | ||
- Follow the steps to build and test the release (see below) and ensure that all tests pass. | - Follow the steps to build and test the release (see below) and ensure that all tests pass. | ||
- | | + | - Push the temporary release branch to origin: < |
- | - <code bash>git tag -s osrf_rel_2_0_1 | + | |
- | git push --tags</ | + | |
- | | + | |
- | - Checkout the tag: < | + | |
- Create a clean export of the files in a working directory (''/ | - Create a clean export of the files in a working directory (''/ | ||
- | git archive --prefix=opensrf-< | + | git archive --prefix=opensrf-< |
cd / | cd / | ||
+ | autoreconf -i | ||
./ | ./ | ||
cd .. | cd .. | ||
- | tar zcvf opensrf-2.0.1.tar.gz opensrf-2.0.1/ | + | tar zcvf opensrf-2.1.0.tar.gz opensrf-2.1.0/ |
</ | </ | ||
- //Bonus hygiene step:// Take the tarball you just created and test installing OpenSRF from it; at the very least, ensure that '' | - //Bonus hygiene step:// Take the tarball you just created and test installing OpenSRF from it; at the very least, ensure that '' | ||
- | - <code bash> | + | |
- | cp opensrf-2.0.1/ | + | git tag -s osrf_rel_2_1_0 |
- | scp OpenSRF-ChangeLog-2.0.1 opensrf-2.0.1.tar.gz* open-ils.org: | + | git push --tags</ |
+ | | ||
+ | cp opensrf-2.1.0/ChangeLog OpenSRF-ChangeLog-2.1.0 | ||
+ | scp OpenSRF-ChangeLog-2.1.0 opensrf-2.1.0.tar.gz* open-ils.org: | ||
+ | </ | ||
+ | - Create HTML versions of the install instructions and release notes for the web site:< | ||
+ | asciidoc -a toc -a numbered opensrf-2.1.0/ | ||
+ | asciidoc -a toc -a numbered opensrf-2.1.0/ | ||
</ | </ | ||
- | - Move the above into the correct download | + | - Move the release files into the correct download |
+ | * Previews / alphas / betas / release candidates go in ''/ | ||
+ | * Final releases go in ''/ | ||
+ | * Install docs go in ''/ | ||
+ | * Release notes go in ''/ |
zzz_archive/dev/release_process/opensrf/2.0.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1