You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

RELEASE_CHECKLIST.txt 3.2 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. Release checklist:
  2. release=0.12
  3. git clone https://github.com/json-c/json-c json-c-${release}
  4. cd json-c-${release}
  5. Check that the compile works on Linux
  6. Check that the compile works on NetBSD
  7. Check that the compile works on Windows
  8. Run "make distcheck" and fix any problems
  9. (e.g. adding new files to SOURCES variables in Makefile.am)
  10. Check ChangeLog to see if anything should be added.
  11. Make any fixes/changes *before* branching.
  12. git branch json-c-${release}
  13. git checkout json-c-${release}
  14. ------------
  15. Update the version in json_c_version.h
  16. Update the version in Doxyfile
  17. Update the version in configure.ac
  18. Use ${release}.
  19. Update the libjson_la_LDFLAGS line in Makefile.am to the new version.
  20. Generally, unless we're doing a major release, change:
  21. -version-info x:y:z
  22. to
  23. -version-info x:y+1:z
  24. ------------
  25. Generate the configure script and other files:
  26. sh autogen.sh
  27. git add -f Makefile.in aclocal.m4 config.guess config.h.in \
  28. config.sub configure depcomp install-sh \
  29. ltmain.sh missing tests/Makefile.in \
  30. INSTALL
  31. # check for anything else to be added:
  32. git status --ignored
  33. git commit
  34. ------------
  35. Generate the doxygen documentation:
  36. doxygen
  37. git add -f doc
  38. git commit doc
  39. ------------
  40. cd ..
  41. echo .git > excludes
  42. echo autom4te.cache >> excludes
  43. tar -czf json-c-${release}.tar.gz -X excludes json-c-${release}
  44. echo doc >> excludes
  45. tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release}
  46. ------------
  47. Tag the branch:
  48. cd json-c-${release}
  49. git tag -a json-c-${release}-$(date +%Y%m%d) -m "Release json-c-${release}"
  50. git push origin json-c-${release}
  51. git push --tags
  52. ------------
  53. Go to Amazon S3 service at:
  54. https://console.aws.amazon.com/s3/
  55. Upload the two tarballs in the json-c_releases folder.
  56. When uploading, use "Reduced Redundancy", and make the uploaded files publicly accessible.
  57. Logout of Amazon S3, and verify that the files are visible.
  58. https://s3.amazonaws.com/json-c_releases/releases/index.html
  59. ===================================
  60. Post-release checklist:
  61. git checkout master
  62. Add new section to ChangeLog
  63. Update the version in json_c_version.h
  64. Update the version in Doxyfile
  65. Update the version in configure.ac
  66. Use ${release}.99 to indicate a version "newer" than anything on the branch.
  67. Leave the libjson_la_LDFLAGS line in Makefile.am alone.
  68. For more details see:
  69. http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
  70. ------------
  71. Update the gh-pages branch with new docs:
  72. cd json-c-${release}
  73. git checkout json-c-${release}
  74. cd ..
  75. git clone -b gh-pages https://github.com/json-c/json-c json-c-pages
  76. cd json-c-pages
  77. mkdir json-c-${release}
  78. cp -R ../json-c-${release}/doc json-c-${release}/.
  79. cp ../json-c-${release}/README-WIN32.html json-c-${release}/.
  80. git add json-c-${release}
  81. git commit
  82. vi index.html
  83. Add/change links to current release.
  84. git commit index.html
  85. git push
  86. ------------
  87. Update checksums on wiki page.
  88. cd ..
  89. openssl sha -sha256 json-c*gz
  90. openssl md5 json-c*gz
  91. Copy and paste this output into the wiki page at:
  92. https://github.com/json-c/json-c/wiki
  93. ------------
  94. Send an email to the mailing list.