add packaging
[platform/upstream/json-c.git] / RELEASE_CHECKLIST.txt
1
2 Release checklist:
3
4 release=0.11
5 git clone https://github.com/json-c/json-c json-c-${release}
6 cd json-c-${release}
7
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
13   git branch json-c-${release}
14   git checkout json-c-${release}
15
16 Generate 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 \
20        ltmain.sh missing tests/Makefile.in \
21        INSTALL
22
23   # check for anything else to be added:
24   git status --ignored
25   git commit
26
27 Generate the doxygen documentation:
28   doxygen
29   git add -f doc
30   git commit doc
31
32 cd ..
33 echo .git > excludes
34 echo autom4te.cache >> excludes
35 tar -czf json-c-${release}.tar.gz -X excludes json-c-${release}
36
37 echo doc >> excludes
38 tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release}
39
40 Tag the branch:
41 cd json-c-${release}
42 git tag -a json-c-${release}-$(date +%Y%m%d)
43 git push
44 git push --tags
45
46 Go to https://github.com/json-c/json-c/downloads
47 Upload the two tarballs.
48
49
50 ===================================
51
52 Post-release checklist:
53
54 git branch master
55 Add new section to CHANGES
56 Update the version in json_c_version.h
57 Update the version in Doxyfile
58 Update the version in configure.in
59 Update the libjson_la_LDFLAGS line in Makefile.am to the new version.
60         http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
61