2011-06-14 10:01:27 -05:00
|
|
|
|
|
|
|
|
Release checklist:
|
|
|
|
|
|
2017-12-09 14:59:05 -05:00
|
|
|
release=0.14
|
2011-06-14 10:01:27 -05:00
|
|
|
git clone https://github.com/json-c/json-c json-c-${release}
|
|
|
|
|
cd json-c-${release}
|
|
|
|
|
|
|
|
|
|
Check that the compile works on Linux
|
2012-04-29 12:54:04 -05:00
|
|
|
Check that the compile works on NetBSD
|
2011-06-14 10:01:27 -05:00
|
|
|
Check that the compile works on Windows
|
2016-06-27 03:46:38 +00:00
|
|
|
Run "make distcheck" and fix any problems
|
|
|
|
|
(e.g. adding new files to SOURCES variables in Makefile.am)
|
2011-06-14 10:01:27 -05:00
|
|
|
Check ChangeLog to see if anything should be added.
|
2013-04-02 21:21:38 -05:00
|
|
|
Make any fixes/changes *before* branching.
|
2011-06-14 10:01:27 -05:00
|
|
|
|
2012-04-29 12:54:04 -05:00
|
|
|
git branch json-c-${release}
|
|
|
|
|
git checkout json-c-${release}
|
2011-06-14 10:01:27 -05:00
|
|
|
|
2013-04-02 21:21:38 -05:00
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
Update the version in json_c_version.h
|
|
|
|
|
Update the version in Doxyfile
|
2014-04-10 22:44:13 -04:00
|
|
|
Update the version in configure.ac
|
2017-10-09 13:16:00 -04:00
|
|
|
Update the version in CMakeLists.txt
|
2017-12-09 14:59:05 -05:00
|
|
|
Update the version in config.h.win32
|
2013-04-02 21:21:38 -05:00
|
|
|
Use ${release}.
|
|
|
|
|
|
|
|
|
|
Update the libjson_la_LDFLAGS line in Makefile.am to the new version.
|
|
|
|
|
Generally, unless we're doing a major release, change:
|
|
|
|
|
-version-info x:y:z
|
|
|
|
|
to
|
|
|
|
|
-version-info x:y+1:z
|
|
|
|
|
|
|
|
|
|
------------
|
|
|
|
|
|
2012-04-29 12:54:04 -05:00
|
|
|
Generate the configure script and other files:
|
|
|
|
|
sh autogen.sh
|
2015-12-08 21:20:42 -06:00
|
|
|
git add -f Makefile.in aclocal.m4 config.guess config.h.in \
|
2012-04-29 12:54:04 -05:00
|
|
|
config.sub configure depcomp install-sh \
|
2012-12-23 10:27:14 -06:00
|
|
|
ltmain.sh missing tests/Makefile.in \
|
2017-12-09 14:59:05 -05:00
|
|
|
INSTALL compile test-driver
|
2012-04-29 12:54:04 -05:00
|
|
|
|
|
|
|
|
# check for anything else to be added:
|
|
|
|
|
git status --ignored
|
|
|
|
|
git commit
|
|
|
|
|
|
2013-04-02 21:21:38 -05:00
|
|
|
------------
|
|
|
|
|
|
2012-04-29 12:54:04 -05:00
|
|
|
Generate the doxygen documentation:
|
|
|
|
|
doxygen
|
2012-12-23 10:27:14 -06:00
|
|
|
git add -f doc
|
2012-04-29 12:54:04 -05:00
|
|
|
git commit doc
|
2011-06-14 10:01:27 -05:00
|
|
|
|
2013-04-02 21:21:38 -05:00
|
|
|
------------
|
|
|
|
|
|
2011-06-14 10:01:27 -05:00
|
|
|
cd ..
|
2012-04-29 12:54:04 -05:00
|
|
|
echo .git > excludes
|
|
|
|
|
echo autom4te.cache >> excludes
|
|
|
|
|
tar -czf json-c-${release}.tar.gz -X excludes json-c-${release}
|
|
|
|
|
|
|
|
|
|
echo doc >> excludes
|
2012-05-30 23:03:34 -05:00
|
|
|
tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release}
|
2012-04-29 12:54:04 -05:00
|
|
|
|
2013-04-02 21:21:38 -05:00
|
|
|
------------
|
|
|
|
|
|
2012-04-29 12:54:04 -05:00
|
|
|
Tag the branch:
|
|
|
|
|
cd json-c-${release}
|
2013-04-02 21:21:38 -05:00
|
|
|
git tag -a json-c-${release}-$(date +%Y%m%d) -m "Release json-c-${release}"
|
|
|
|
|
|
|
|
|
|
git push origin json-c-${release}
|
2012-07-08 20:33:25 -05:00
|
|
|
git push --tags
|
2012-04-29 12:54:04 -05:00
|
|
|
|
2013-04-02 21:21:38 -05:00
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
Go to Amazon S3 service at:
|
|
|
|
|
https://console.aws.amazon.com/s3/
|
2011-06-14 10:01:27 -05:00
|
|
|
|
2013-04-02 21:21:38 -05:00
|
|
|
Upload the two tarballs in the json-c_releases folder.
|
|
|
|
|
When uploading, use "Reduced Redundancy", and make the uploaded files publicly accessible.
|
|
|
|
|
|
|
|
|
|
Logout of Amazon S3, and verify that the files are visible.
|
|
|
|
|
https://s3.amazonaws.com/json-c_releases/releases/index.html
|
2011-06-14 10:01:27 -05:00
|
|
|
|
|
|
|
|
===================================
|
|
|
|
|
|
|
|
|
|
Post-release checklist:
|
|
|
|
|
|
2013-04-02 21:21:38 -05:00
|
|
|
git checkout master
|
|
|
|
|
Add new section to ChangeLog
|
2012-12-23 11:09:20 -06:00
|
|
|
Update the version in json_c_version.h
|
2011-06-14 10:01:27 -05:00
|
|
|
Update the version in Doxyfile
|
2014-04-10 22:44:13 -04:00
|
|
|
Update the version in configure.ac
|
2017-10-09 13:16:00 -04:00
|
|
|
Update the version in CMakeLists.txt
|
2017-12-09 14:59:05 -05:00
|
|
|
Update the version in config.h.win32
|
2013-04-02 21:21:38 -05:00
|
|
|
Use ${release}.99 to indicate a version "newer" than anything on the branch.
|
|
|
|
|
|
2017-12-09 14:59:05 -05:00
|
|
|
Update the libjson_la_LDFLAGS line in Makefile.am to match the release branch.
|
2013-04-02 21:21:38 -05:00
|
|
|
For more details see:
|
2011-06-14 10:01:27 -05:00
|
|
|
http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
|
|
|
|
|
2013-04-02 21:21:38 -05:00
|
|
|
------------
|
|
|
|
|
|
2013-04-02 21:36:28 -05:00
|
|
|
Update the gh-pages branch with new docs:
|
|
|
|
|
|
|
|
|
|
cd json-c-${release}
|
|
|
|
|
git checkout json-c-${release}
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
git clone -b gh-pages https://github.com/json-c/json-c json-c-pages
|
|
|
|
|
cd json-c-pages
|
|
|
|
|
mkdir json-c-${release}
|
|
|
|
|
cp -R ../json-c-${release}/doc json-c-${release}/.
|
|
|
|
|
git add json-c-${release}
|
|
|
|
|
git commit
|
|
|
|
|
|
|
|
|
|
vi index.html
|
|
|
|
|
Add/change links to current release.
|
|
|
|
|
|
2014-04-11 20:06:27 -04:00
|
|
|
git commit index.html
|
|
|
|
|
|
|
|
|
|
git push
|
|
|
|
|
|
|
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
Update checksums on wiki page.
|
|
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
openssl sha -sha256 json-c*gz
|
|
|
|
|
openssl md5 json-c*gz
|
|
|
|
|
|
|
|
|
|
Copy and paste this output into the wiki page at:
|
|
|
|
|
https://github.com/json-c/json-c/wiki
|
|
|
|
|
|
2013-04-02 21:36:28 -05:00
|
|
|
------------
|
2013-04-02 21:21:38 -05:00
|
|
|
|
|
|
|
|
Send an email to the mailing list.
|
|
|
|
|
|