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