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.1 kB

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