Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 1 | |
| 2 | Release checklist: |
| 3 | |
Eric Haszlakiewicz | f84d9c5 | 2014-04-10 21:07:20 -0400 | [diff] [blame] | 4 | release=0.12 |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 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 |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 9 | Check that the compile works on NetBSD |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 10 | Check that the compile works on Windows |
| 11 | Check ChangeLog to see if anything should be added. |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 12 | Make any fixes/changes *before* branching. |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 13 | |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 14 | git branch json-c-${release} |
| 15 | git checkout json-c-${release} |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 16 | |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 17 | ------------ |
| 18 | |
| 19 | Update the version in json_c_version.h |
| 20 | Update the version in Doxyfile |
Eric Haszlakiewicz | 515ba0d | 2014-04-10 22:44:13 -0400 | [diff] [blame] | 21 | Update the version in configure.ac |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 22 | Use ${release}. |
| 23 | |
| 24 | Update 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 Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 32 | Generate 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 Haszlakiewicz | d7de3aa | 2012-12-23 10:27:14 -0600 | [diff] [blame] | 36 | ltmain.sh missing tests/Makefile.in \ |
| 37 | INSTALL |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 38 | |
| 39 | # check for anything else to be added: |
| 40 | git status --ignored |
| 41 | git commit |
| 42 | |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 43 | ------------ |
| 44 | |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 45 | Generate the doxygen documentation: |
| 46 | doxygen |
Eric Haszlakiewicz | d7de3aa | 2012-12-23 10:27:14 -0600 | [diff] [blame] | 47 | git add -f doc |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 48 | git commit doc |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 49 | |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 50 | ------------ |
| 51 | |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 52 | cd .. |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 53 | echo .git > excludes |
| 54 | echo autom4te.cache >> excludes |
| 55 | tar -czf json-c-${release}.tar.gz -X excludes json-c-${release} |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 56 | |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 57 | echo doc >> excludes |
Eric Haszlakiewicz | 837d685 | 2012-05-30 23:03:34 -0500 | [diff] [blame] | 58 | tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release} |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 59 | |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 60 | ------------ |
| 61 | |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 62 | Tag the branch: |
| 63 | cd json-c-${release} |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 64 | git tag -a json-c-${release}-$(date +%Y%m%d) -m "Release json-c-${release}" |
| 65 | |
| 66 | git push origin json-c-${release} |
Eric Haszlakiewicz | 9791c38 | 2012-07-08 20:33:25 -0500 | [diff] [blame] | 67 | git push --tags |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 68 | |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 69 | ------------ |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 70 | |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 71 | Go to Amazon S3 service at: |
| 72 | https://console.aws.amazon.com/s3/ |
| 73 | |
| 74 | Upload the two tarballs in the json-c_releases folder. |
| 75 | When uploading, use "Reduced Redundancy", and make the uploaded files publicly accessible. |
| 76 | |
| 77 | Logout of Amazon S3, and verify that the files are visible. |
| 78 | https://s3.amazonaws.com/json-c_releases/releases/index.html |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 79 | |
| 80 | =================================== |
| 81 | |
| 82 | Post-release checklist: |
| 83 | |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 84 | git checkout master |
| 85 | Add new section to ChangeLog |
Eric Haszlakiewicz | fcc768e | 2012-12-23 11:09:20 -0600 | [diff] [blame] | 86 | Update the version in json_c_version.h |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 87 | Update the version in Doxyfile |
Eric Haszlakiewicz | 515ba0d | 2014-04-10 22:44:13 -0400 | [diff] [blame] | 88 | Update the version in configure.ac |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 89 | Use ${release}.99 to indicate a version "newer" than anything on the branch. |
| 90 | |
| 91 | Leave the libjson_la_LDFLAGS line in Makefile.am alone. |
| 92 | For more details see: |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 93 | http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html |
| 94 | |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 95 | ------------ |
| 96 | |
Eric Haszlakiewicz | e843616 | 2013-04-02 21:36:28 -0500 | [diff] [blame] | 97 | Update the gh-pages branch with new docs: |
| 98 | |
| 99 | cd json-c-${release} |
| 100 | git checkout json-c-${release} |
| 101 | cd .. |
| 102 | |
| 103 | git clone -b gh-pages https://github.com/json-c/json-c json-c-pages |
| 104 | cd 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} |
| 109 | git commit |
| 110 | |
| 111 | vi index.html |
| 112 | Add/change links to current release. |
| 113 | |
Eric Haszlakiewicz | fa54bd5 | 2014-04-11 20:06:27 -0400 | [diff] [blame] | 114 | git commit index.html |
| 115 | |
| 116 | git push |
| 117 | |
| 118 | ------------ |
| 119 | |
| 120 | Update checksums on wiki page. |
| 121 | |
| 122 | cd .. |
| 123 | openssl sha -sha256 json-c*gz |
| 124 | openssl md5 json-c*gz |
| 125 | |
| 126 | Copy and paste this output into the wiki page at: |
| 127 | https://github.com/json-c/json-c/wiki |
| 128 | |
Eric Haszlakiewicz | e843616 | 2013-04-02 21:36:28 -0500 | [diff] [blame] | 129 | ------------ |
Eric Haszlakiewicz | 20db5a4 | 2013-04-02 21:21:38 -0500 | [diff] [blame] | 130 | |
| 131 | Send an email to the mailing list. |
| 132 | |