2009-03-02 04:29:21 +08:00
|
|
|
Here are most of the steps we (maintainers) follow when making a release.
|
|
|
|
|
|
|
|
* start from a clean, up-to-date git directory.
|
|
|
|
|
|
|
|
git checkout master; git pull
|
|
|
|
|
2009-03-03 15:24:29 +08:00
|
|
|
* Run ./configure && make maintainer-clean
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
* Ensure that the desired versions of autoconf, automake, bison, etc.
|
2009-10-06 22:49:36 +08:00
|
|
|
are in your PATH. See the buildreq list in bootstrap.conf for
|
|
|
|
the complete list.
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
* Ensure that you're on "master" with no uncommitted diffs.
|
|
|
|
This should produce no output: git checkout master; git diff
|
|
|
|
|
2010-10-04 02:48:53 +08:00
|
|
|
* Ensure that you've pushed all changes that belong in the release
|
|
|
|
and that the NixOS/Hydra autobuilder is reporting all is well:
|
|
|
|
|
|
|
|
http://hydra.nixos.org/jobset/gnu/coreutils-master
|
|
|
|
|
2010-02-07 16:10:53 +08:00
|
|
|
* Run bootstrap one last time. This downloads any new translations:
|
|
|
|
|
|
|
|
./bootstrap
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
FIXME: enable excluded programs like arch? to get their manual pages?
|
|
|
|
|
|
|
|
* Pre-release testing:
|
|
|
|
|
2010-02-07 16:10:53 +08:00
|
|
|
Run the following on at least one SELinux-enabled (enforcing) and
|
|
|
|
one non-SELinux system:
|
|
|
|
|
2011-01-04 19:47:24 +08:00
|
|
|
n=$(( ($(nproc) + 1) / 2 ))
|
|
|
|
sudo env PATH="$PATH" NON_ROOT_USERNAME=$USER make -k -j$(nproc) check-root\
|
|
|
|
&& make distcheck \
|
|
|
|
&& make -j$n check RUN_VERY_EXPENSIVE_TESTS=yes RUN_EXPENSIVE_TESTS=yes
|
|
|
|
|
|
|
|
Note that the use of -j$n tells make to use approximately half of the
|
|
|
|
available processing units. If you use -jN, for larger N, some of the
|
|
|
|
expensive tests are likely to interfere with concurrent performance-measuring
|
|
|
|
or timing-sensitive tests, resulting in spurious failures.
|
2010-02-07 16:10:53 +08:00
|
|
|
|
|
|
|
If "make distcheck" doesn't run "make syntax-check" for you, then run
|
|
|
|
it manually:
|
2009-03-02 04:29:21 +08:00
|
|
|
|
2010-02-07 16:10:53 +08:00
|
|
|
make syntax-check
|
2009-03-02 04:29:21 +08:00
|
|
|
|
2009-10-31 18:08:03 +08:00
|
|
|
* Set the date, version number, and release type [stable/alpha/beta] on
|
|
|
|
line 3 of NEWS, commit that, and tag the release by running e.g.,
|
2009-03-02 04:29:21 +08:00
|
|
|
|
2010-05-04 02:37:13 +08:00
|
|
|
build-aux/do-release-commit-and-tag X.Y stable
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
* Run the following to create release tarballs. Your choice selects the
|
|
|
|
corresponding upload-to destination in the emitted gnupload command.
|
2009-05-14 15:54:22 +08:00
|
|
|
The different destinations are specified in cfg.mk. See the definitions
|
2009-10-06 22:49:36 +08:00
|
|
|
of gnu_ftp_host-{alpha,beta,stable}.
|
2009-03-02 04:29:21 +08:00
|
|
|
|
2009-10-06 22:49:36 +08:00
|
|
|
# "TYPE" must be stable, beta or alpha
|
2009-03-03 15:24:29 +08:00
|
|
|
make TYPE
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
* Test the tarball. copy it to a few odd-ball systems and ensure that
|
|
|
|
it builds and passes all tests.
|
|
|
|
|
|
|
|
* While that's happening, write the release announcement that you will
|
2010-05-04 04:00:30 +08:00
|
|
|
soon post. Start with the template, $HOME/announce-coreutils-X.Y
|
|
|
|
that was just created by that "make" command.
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
Once all the builds and tests have passed,
|
|
|
|
|
2009-11-19 04:04:52 +08:00
|
|
|
* Run the gnupload command that was suggested by your "make stable" run above.
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
* Wait a few minutes (maybe up to 30?) and then use the release URLs to
|
|
|
|
download all tarball/signature pairs and use gpg --verify to ensure
|
|
|
|
that they're all valid.
|
|
|
|
|
2010-01-14 21:39:11 +08:00
|
|
|
* Push the NEWS-updating changes and the new tag:
|
2009-10-06 22:49:36 +08:00
|
|
|
|
|
|
|
v=$(cat .prev-version)
|
2010-01-14 21:39:11 +08:00
|
|
|
git push origin master tag v$v
|
2009-03-02 04:29:21 +08:00
|
|
|
|
2010-05-04 02:37:13 +08:00
|
|
|
* Announce it on Savannah first, so you can include the preferable
|
|
|
|
savannah.org announcement link in the email message.
|
2010-05-04 04:00:30 +08:00
|
|
|
|
2009-03-02 04:29:21 +08:00
|
|
|
From here:
|
|
|
|
https://savannah.gnu.org/projects/coreutils/
|
|
|
|
click on the "submit news", then write something like the following:
|
2009-10-06 22:49:36 +08:00
|
|
|
(If there is no such button, then enable "News" for the project via
|
|
|
|
the Main -> "Select Features" menu item, or via this link:
|
2009-10-31 15:49:46 +08:00
|
|
|
https://savannah.gnu.org/project/admin/editgroupfeatures.php?group=coreutils)
|
2009-03-02 04:29:21 +08:00
|
|
|
|
2010-05-04 02:37:13 +08:00
|
|
|
Subject: coreutils-X.Y released [stable]
|
2010-03-31 14:58:40 +08:00
|
|
|
+verbatim+
|
|
|
|
...paste the announcement here...
|
|
|
|
-verbatim-
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
Then go here to approve it:
|
|
|
|
https://savannah.gnu.org/news/approve.php?group=coreutils
|
|
|
|
|
2010-05-04 04:00:30 +08:00
|
|
|
* Send the announcement email message.
|
2010-05-04 02:37:13 +08:00
|
|
|
|
|
|
|
* Approve the announcement here:
|
|
|
|
http://lists.gnu.org/mailman/admindb/coreutils-announce
|
|
|
|
|
2009-09-21 14:56:17 +08:00
|
|
|
* After each non-alpha release, update the on-line manual accessible via
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
http://www.gnu.org/software/coreutils/manual/
|
|
|
|
|
2009-10-06 22:49:36 +08:00
|
|
|
by running this:
|
|
|
|
|
|
|
|
build-aux/gnu-web-doc-update
|