-
Notifications
You must be signed in to change notification settings - Fork 836
Releasing
Petri Lehtinen edited this page Mar 23, 2025
·
9 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), it’s set in
src/Makefile.am - Update JANSSON_VERSION and JANSSON_SOVERSION in CMakeLists.txt.
- 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) - Upload tarballs and signatures to digip.org, modify the Jansson page links
- Write a release email to jansson-users mailing list