5 git clone https://github.com/json-c/json-c json-c-${release}
8 Check that the compile works on Linux
9 Check that the compile works on NetBSD
10 Check that the compile works on Windows
11 Check ChangeLog to see if anything should be added.
12 Make any fixes/changes *before* branching.
14 git branch json-c-${release}
15 git checkout json-c-${release}
19 Update the version in json_c_version.h
20 Update the version in Doxyfile
21 Update the version in configure.in
24 Update the libjson_la_LDFLAGS line in Makefile.am to the new version.
25 Generally, unless we're doing a major release, change:
32 Generate the configure script and other files:
34 git add -f Makefile.in aclocal.m4 config.guess \
35 config.sub configure depcomp install-sh \
36 ltmain.sh missing tests/Makefile.in \
39 # check for anything else to be added:
45 Generate the doxygen documentation:
54 echo autom4te.cache >> excludes
55 tar -czf json-c-${release}.tar.gz -X excludes json-c-${release}
58 tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release}
64 git tag -a json-c-${release}-$(date +%Y%m%d) -m "Release json-c-${release}"
66 git push origin json-c-${release}
71 Go to Amazon S3 service at:
72 https://console.aws.amazon.com/s3/
74 Upload the two tarballs in the json-c_releases folder.
75 When uploading, use "Reduced Redundancy", and make the uploaded files publicly accessible.
77 Logout of Amazon S3, and verify that the files are visible.
78 https://s3.amazonaws.com/json-c_releases/releases/index.html
80 ===================================
82 Post-release checklist:
85 Add new section to ChangeLog
86 Update the version in json_c_version.h
87 Update the version in Doxyfile
88 Update the version in configure.in
89 Use ${release}.99 to indicate a version "newer" than anything on the branch.
91 Leave the libjson_la_LDFLAGS line in Makefile.am alone.
93 http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
97 Update the gh-pages branch with new docs:
100 git checkout json-c-${release}
103 git clone -b gh-pages https://github.com/json-c/json-c json-c-pages
105 mkdir json-c-${release}
106 cp -R ../json-c-${release}/doc json-c-${release}/.
107 cp ../json-c-${release}/README-WIN32.html json-c-${release}/.
108 git add json-c-${release}
112 Add/change links to current release.
116 Send an email to the mailing list.