Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 1 | |
| 2 | Release checklist: |
| 3 | |
| 4 | release=0.10 |
| 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. |
| 12 | |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 13 | git branch json-c-${release} |
| 14 | git checkout json-c-${release} |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 15 | |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 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 \ |
Eric Haszlakiewicz | d7de3aa | 2012-12-23 10:27:14 -0600 | [diff] [blame^] | 20 | ltmain.sh missing tests/Makefile.in \ |
| 21 | INSTALL |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 22 | |
| 23 | # check for anything else to be added: |
| 24 | git status --ignored |
| 25 | git commit |
| 26 | |
| 27 | Generate the doxygen documentation: |
| 28 | doxygen |
Eric Haszlakiewicz | d7de3aa | 2012-12-23 10:27:14 -0600 | [diff] [blame^] | 29 | git add -f doc |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 30 | git commit doc |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 31 | |
| 32 | cd .. |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 33 | echo .git > excludes |
| 34 | echo autom4te.cache >> excludes |
| 35 | tar -czf json-c-${release}.tar.gz -X excludes json-c-${release} |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 36 | |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 37 | echo doc >> excludes |
Eric Haszlakiewicz | 837d685 | 2012-05-30 23:03:34 -0500 | [diff] [blame] | 38 | 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] | 39 | |
| 40 | Tag the branch: |
| 41 | cd json-c-${release} |
Eric Haszlakiewicz | 9791c38 | 2012-07-08 20:33:25 -0500 | [diff] [blame] | 42 | git tag -a json-c-${release}-$(date +%Y%m%d) |
| 43 | git push |
| 44 | git push --tags |
Eric Haszlakiewicz | e7bd2e9 | 2012-04-29 12:54:04 -0500 | [diff] [blame] | 45 | |
| 46 | Go to https://github.com/json-c/json-c/downloads |
| 47 | Upload the two tarballs. |
| 48 | |
Eric Haszlakiewicz | a8ffbe9 | 2011-06-14 10:01:27 -0500 | [diff] [blame] | 49 | |
| 50 | =================================== |
| 51 | |
| 52 | Post-release checklist: |
| 53 | |
| 54 | git branch master |
| 55 | Add new section to CHANGES |
| 56 | Update the version in Doxyfile |
| 57 | Update the version in configure.in |
| 58 | Update 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 | |