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.

ReleaseInstructions 4.7 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. Instructions for making a Release:
  2. Author: Conor MacNeill
  3. Note: This document was created in the context of releasing Ant 1.5.
  4. Please interpret the branch names, tags, etc. according to
  5. your context.
  6. 1. Propose a release plan for vote. This should set out the timetable for
  7. the release under ideal circumstances. The level of bugs reported
  8. can delay things. Generally, give a few weeks to "close" the source tree
  9. to further changes so people can finalise contributions, etc. At this time,
  10. the first beta will be cut and there will be then a period of beta testing,
  11. usually 1 month but this should be flexible.
  12. 2. Note that any mention of a deadline causes a flood of bug fixes, new tasks,
  13. etc. This needs to be managed as best it can. Some fixes will be applied,
  14. others held over. Make this clear in the release plan. The committers and
  15. particularly the release manager will need to make judgement calls here.
  16. Anything too "big" is likely to be held over.
  17. 3. Once the freeze date arrives, create a branch for the release builds. You
  18. will need to be comfortable in handling CVS branches with mutliple
  19. merge-backs to the main branch and even selected merges from the the main
  20. branch to the release branch.
  21. [[ TODO: More information on multiple merge-backs needed ]]
  22. Label such branches ANT_15_BRANCH.
  23. 4. Once the branch is setup, the version numbers in CVS are changed. On the
  24. branch, the build.xml version becomes 1.5Beta1 while the main branch is
  25. updated to 1.6alpha.
  26. [[ TODO: Check if the documentation files also need to be updated to point
  27. to the right areas of Ant's website. ]]
  28. 5. Ensure you have all the external libraries that Ant uses in your
  29. lib/optional directory. To find out what libraries you need, execute
  30. the build with -verbose option and scan for lines beginning with
  31. "Unable to load...".
  32. 6. Next bootstrap, build and run the tests. Then build the distribution
  33. on the branch. It is important that this be a clean build. Label this with
  34. a tag ANT_15_B1.
  35. 7. Sign the distribution files using the following simple script
  36. #!/bin/sh
  37. for i in distribution/*
  38. do
  39. echo "Signing " $i
  40. gpg -a -b $i
  41. done
  42. Try to do this on Linux since the gpg signatures generated on Windows may
  43. cause some PGP users problems verifying signatures even though they seem
  44. OK.
  45. 8. The beta distribution is now ready to go. Bundle it up into a tar.gz file and
  46. scp to your apache account.
  47. 9. Meanwhile, convert the WHATSNEW file into HTML for the README file on the
  48. website. See the previous release directories for examples of these files.
  49. Add instructions and warnings (GNU tar format issues, etc).
  50. [[ TODO: Any tool to automatically convert from text to html? ]]
  51. 10. Once this is uploaded, unpack things, create the release directory,
  52. something like v1.5Beta1, push the release and README files into this
  53. directory.
  54. 11. Address the available release tags in BugZilla. Create a new tag 1.5Beta1
  55. and a 1.6alpha. Assign all existing 1.5 alpha bugs to one of these release
  56. labels.
  57. 12. Once that is done, do a test download to make sure everything is OK. If it
  58. looks OK, announce it on ant-dev and ant-user. After a few days pass and
  59. there are no major problems, a wider announcement is made (main jakarta
  60. website, general and announce lists, etc).
  61. 13. As problems in the beta are discovered, there may be a need for one or more
  62. subsequent betas. The release manager makes this call. Each time, the
  63. versions are updated and the above process is repeated. Try not to have
  64. too many betas.
  65. 14. Try to advertise the need for testing of the betas as much as possible.
  66. This would eliminate the need to release minor patch versions like
  67. we had to do when releasing Ant 1.4.
  68. [[TODO: Document how to monitor the number of downloads ]]
  69. 15. When the final beta is considered OK, propose a vote on ant-dev to
  70. officially adopt the latest beta as the Ant 1.5 release. If it is passed,
  71. (it usually does,) this would be labelled ANT_15 and built in a similar
  72. fashion to the above process.
  73. 16. Now and perhaps during previous betas any changes on the branch must
  74. be merged back into the tree.
  75. 17. At this point in time, the release is done and announcements are made.
  76. [[TODO: Identify the mailing lists where announcements are to be made.
  77. Also identify the webpages to which the announcements must go. ]]
  78. 18. You can now reacquaint yourself with your family and friends.