blob: d086592475e72b45bb87fe491f4d75907fcffd24 [file] [log] [blame]
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -05001
2Release checklist:
3
4release=0.10
5git clone https://github.com/json-c/json-c json-c-${release}
6cd json-c-${release}
7
8Check that the compile works on Linux
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -05009Check that the compile works on NetBSD
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050010Check that the compile works on Windows
11Check ChangeLog to see if anything should be added.
12
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050013 git branch json-c-${release}
14 git checkout json-c-${release}
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050015
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050016Generate the configure script and other files:
17 sh autogen.sh
18 git add -f Makefile.in aclocal.m4 config.guess \
19 config.sub configure depcomp install-sh \
Eric Haszlakiewiczd7de3aa2012-12-23 10:27:14 -060020 ltmain.sh missing tests/Makefile.in \
21 INSTALL
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050022
23 # check for anything else to be added:
24 git status --ignored
25 git commit
26
27Generate the doxygen documentation:
28 doxygen
Eric Haszlakiewiczd7de3aa2012-12-23 10:27:14 -060029 git add -f doc
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050030 git commit doc
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050031
32cd ..
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050033echo .git > excludes
34echo autom4te.cache >> excludes
35tar -czf json-c-${release}.tar.gz -X excludes json-c-${release}
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050036
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050037echo doc >> excludes
Eric Haszlakiewicz837d6852012-05-30 23:03:34 -050038tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release}
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050039
40Tag the branch:
41cd json-c-${release}
Eric Haszlakiewicz9791c382012-07-08 20:33:25 -050042git tag -a json-c-${release}-$(date +%Y%m%d)
43git push
44git push --tags
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050045
46Go to https://github.com/json-c/json-c/downloads
47Upload the two tarballs.
48
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050049
50===================================
51
52Post-release checklist:
53
54git branch master
55Add new section to CHANGES
56Update the version in Doxyfile
57Update the version in configure.in
58Update the libjson_la_LDFLAGS line in Makefile.am to the new version.
59 http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
60