README-release 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Here are most of the steps we (maintainers) follow when making a release.
  2. * Start from a clean, up-to-date git directory on "master":
  3. make -k maintainer-clean || { ./configure && make maintainer-clean; }
  4. git checkout master
  5. git pull origin master
  6. * Ensure that the latest stable versions of autoconf, automake, etc.
  7. are in your PATH. See the buildreq list in bootstrap.conf for
  8. the complete list of tools.
  9. * Ensure that you have no uncommitted diffs. This should produce no
  10. output:
  11. git diff
  12. * Ensure that you've pushed all changes that belong in the release:
  13. git push origin master
  14. * Check that the NixOS/Hydra autobuilder is reporting all is well:
  15. http://hydra.nixos.org/jobset/gnu/bison-master
  16. * Run the following command to download any new translations:
  17. ./bootstrap && ./configure
  18. * Pre-release testing: ensure that the following command succeeds:
  19. make check syntax-check distcheck
  20. * To (i) set the date, version number, and release TYPE on line 3 of
  21. NEWS, (ii) commit that, and (iii) tag the release, run
  22. # "TYPE" must be stable, beta or alpha
  23. make release-commit RELEASE='X.Y TYPE'
  24. * Run the following to create release tarballs. Your choice selects the
  25. corresponding upload-to destination in the emitted gnupload command.
  26. The different destinations are specified in cfg.mk. See the definitions
  27. of gnu_ftp_host-{alpha,beta,stable}.
  28. make release RELEASE='X.Y TYPE'
  29. * Test the tarball. Copy it to a few odd-ball systems and ensure that
  30. it builds and passes all tests.
  31. * While that's happening, write the release announcement that you will
  32. soon post. Start with the template, $HOME/announce-bison-X.Y
  33. that was just created by that "make" command.
  34. Once all the builds and tests have passed,
  35. * Run the gnupload command that was suggested by your "make release"
  36. run above, or run
  37. make upload RELEASE='X.Y TYPE'
  38. * Wait a few minutes (maybe up to 30?) and then use the release URLs to
  39. download all tarball/signature pairs and use gpg --verify to ensure
  40. that they're all valid.
  41. * Push the NEWS-updating changes and the new tag:
  42. v=$(cat .prev-version)
  43. git push origin master tag v$v
  44. * Announce it on Savannah first, so you can include the savannah.org
  45. announcement link in the email message.
  46. Go to the news-submission form:
  47. https://savannah.gnu.org/news/submit.php?group=bison
  48. If it does not work, then enable "News" for the project via this link:
  49. https://savannah.gnu.org/project/admin/editgroupfeatures.php?group=bison
  50. Write something like the following:
  51. Subject: bison-X.Y released [stable]
  52. +verbatim+
  53. ...paste the announcement here...
  54. -verbatim-
  55. Then go here to approve it:
  56. https://savannah.gnu.org/news/approve.php?group=bison
  57. * Send the announcement email message.
  58. * After each non-alpha release, run
  59. make web-manual-update
  60. to update the on-line manual accessible at
  61. http://www.gnu.org/software/bison/manual/