blob: 4713258220a1db0ce3740334b2af6211462bf510 [file] [log] [blame]
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -05001
2Release checklist:
3
Eric Haszlakiewiczf84d9c52014-04-10 21:07:20 -04004release=0.12
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -05005git 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.
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -050012Make any fixes/changes *before* branching.
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050013
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050014 git branch json-c-${release}
15 git checkout json-c-${release}
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050016
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -050017------------
18
19Update the version in json_c_version.h
20Update the version in Doxyfile
Eric Haszlakiewicz515ba0d2014-04-10 22:44:13 -040021Update the version in configure.ac
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -050022 Use ${release}.
23
24Update the libjson_la_LDFLAGS line in Makefile.am to the new version.
25 Generally, unless we're doing a major release, change:
26 -version-info x:y:z
27 to
28 -version-info x:y+1:z
29
30------------
31
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050032Generate the configure script and other files:
33 sh autogen.sh
34 git add -f Makefile.in aclocal.m4 config.guess \
35 config.sub configure depcomp install-sh \
Eric Haszlakiewiczd7de3aa2012-12-23 10:27:14 -060036 ltmain.sh missing tests/Makefile.in \
37 INSTALL
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050038
39 # check for anything else to be added:
40 git status --ignored
41 git commit
42
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -050043------------
44
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050045Generate the doxygen documentation:
46 doxygen
Eric Haszlakiewiczd7de3aa2012-12-23 10:27:14 -060047 git add -f doc
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050048 git commit doc
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050049
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -050050------------
51
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050052cd ..
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050053echo .git > excludes
54echo autom4te.cache >> excludes
55tar -czf json-c-${release}.tar.gz -X excludes json-c-${release}
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050056
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050057echo doc >> excludes
Eric Haszlakiewicz837d6852012-05-30 23:03:34 -050058tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release}
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050059
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -050060------------
61
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050062Tag the branch:
63cd json-c-${release}
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -050064git tag -a json-c-${release}-$(date +%Y%m%d) -m "Release json-c-${release}"
65
66git push origin json-c-${release}
Eric Haszlakiewicz9791c382012-07-08 20:33:25 -050067git push --tags
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050068
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -050069------------
Eric Haszlakiewicze7bd2e92012-04-29 12:54:04 -050070
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -050071Go to Amazon S3 service at:
72 https://console.aws.amazon.com/s3/
73
74Upload the two tarballs in the json-c_releases folder.
75 When uploading, use "Reduced Redundancy", and make the uploaded files publicly accessible.
76
77Logout of Amazon S3, and verify that the files are visible.
78 https://s3.amazonaws.com/json-c_releases/releases/index.html
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050079
80===================================
81
82Post-release checklist:
83
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -050084git checkout master
85Add new section to ChangeLog
Eric Haszlakiewiczfcc768e2012-12-23 11:09:20 -060086Update the version in json_c_version.h
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050087Update the version in Doxyfile
Eric Haszlakiewicz515ba0d2014-04-10 22:44:13 -040088Update the version in configure.ac
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -050089 Use ${release}.99 to indicate a version "newer" than anything on the branch.
90
91Leave the libjson_la_LDFLAGS line in Makefile.am alone.
92 For more details see:
Eric Haszlakiewicza8ffbe92011-06-14 10:01:27 -050093 http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
94
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -050095------------
96
Eric Haszlakiewicze8436162013-04-02 21:36:28 -050097Update the gh-pages branch with new docs:
98
99cd json-c-${release}
100git checkout json-c-${release}
101cd ..
102
103git clone -b gh-pages https://github.com/json-c/json-c json-c-pages
104cd json-c-pages
105mkdir json-c-${release}
106cp -R ../json-c-${release}/doc json-c-${release}/.
107cp ../json-c-${release}/README-WIN32.html json-c-${release}/.
108git add json-c-${release}
109git commit
110
111vi index.html
112 Add/change links to current release.
113
Eric Haszlakiewiczfa54bd52014-04-11 20:06:27 -0400114git commit index.html
115
116git push
117
118------------
119
120Update checksums on wiki page.
121
122cd ..
123openssl sha -sha256 json-c*gz
124openssl md5 json-c*gz
125
126Copy and paste this output into the wiki page at:
127 https://github.com/json-c/json-c/wiki
128
Eric Haszlakiewicze8436162013-04-02 21:36:28 -0500129------------
Eric Haszlakiewicz20db5a42013-04-02 21:21:38 -0500130
131Send an email to the mailing list.
132