|
The example shown here is to upgrade from 0.9.0.0-alpha to 0.9.0.1-alpha. Adapt accordingly. - Prepare for next release
- Update the CHANGES file with the list of changes for the release
- Modify the CMakeLists.txt file to include the new version number
- Rename the lib/hypertable-$VERSION.jar file to reflect the new release version
- Update version number in conf/Capfile.*
- Run make doc and try to eliminate doxygen warnings
- Update README to point to new thrift, if needed
- Test all changes in the 'next' branch
- First get all changes into 'next'
- Make sure the version number is correct (e.g. 0.9.0.1 here) in the top-level CMakeLists.txt
- Make sure 'next' is a superset of 'master', do a git merge master
- Make sure tests are passing in the 'next' branch
- Pull the changes from 'next' into 'master'
git checkout master
git merge next - Tag the release:
git tag -a v0.9.0.1 Note, -a or -s is required for "git describe" used by the version mechanism in the build system)
- Push the changes to official repository:
git push # optionally with an origin name
git push --tags # optionally with an origin name - Create release tarball:
git archive --format=tar --prefix=hypertable-0.9.0.1-alpha/ v0.9.0.1 | gzip -9 > /tmp/hypertable-0.9.0.1-alpha-src.tar.gz Note: gzip compress better than bzip2 for hypertable source, go figure; the trailing / in the prefix is important.
- Upload the tarball to the google code download area: http://code.google.com/p/hypertable/downloads/list
- Update github repository
- Build binary packages using bin/src-utils/htbuild
- Update website (in the html.git repository): change wordings in src/*.php and src/*.inc if necessary. But more importantly edit the src/release.inc to make sure variables: $download_version, $release_version and $release_date are set correctly. And then in the web root directory, run the following command:
src/generate.sh which will generate the html pages and the news feed.
- Re-build doxygen source documentation, check it in (html.git) and publish it (push to the official html.git and pull in /var/www/html)
- Send a note to the mailing lists (hypertable-...)
|
Sed already handles this:
with this:
Details:
Go Hypertable!
Thanks for the note. The suffix is actually required for /usr/bin/sed on Mac OS X.
So this would work: