forked from akheron/jansson
-
Notifications
You must be signed in to change notification settings - Fork 0
Releasing
akheron edited this page Jun 10, 2011
·
4 revisions
Use these steps to make releases of Jansson:
- Write a changelog entry. Use
git log PREV...CURto view the commits. - Use
git grepto find all occurences of the old version number and replace them with the new one - Update libtool version-info if needed (see Library interface versions in Libtool manual)
- Clean the source tree:
git clean -d -x -f - Bootstrap autotools:
autoreconf -i - Configure:
./configure - Run distchek:
make VALGRIND=1 distcheck - Let:
v=X.Y.Z - Commit:
git commit -a -m "jansson $v" - Create a tag:
git tag -s -m "jansson $v" v$v - Make a tar.bz2 tarball:
make dist-bzip2 - Sign the source tarballs:
for s in gz bz2; do gpg --detach-sign --armor jansson-$v.tar.$s; done - Push:
git push origin <branch> tag v$v(replace<branch>withmasteror the branch name) - Build the documentation:
make html - Rename doc directory:
cd doc/_build; mv html jansson-$v-doc - Make documentation tarballs:
tar czf jansson-$v-doc{.tar.gz,}; tar cjf jansson-$v-doc{.tar.bz2,} - Sign the tarballs:
for s in gz bz2; do gpg --detach-sign --armor jansson-$v-doc.tar.$s; done