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
|
|
|
|
|
2009-09-11 19:13:45 +08:00
|
|
|
* Run bootstrap: ./bootstrap
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
FIXME: enable excluded programs like arch? to get their manual pages?
|
|
|
|
|
|
|
|
* Pre-release testing:
|
2009-10-06 22:49:36 +08:00
|
|
|
Ensure that make check syntax-check succeeds.
|
2009-03-02 04:29:21 +08:00
|
|
|
On at least one SELinux-enabled (enforcing) and one non-SELinux system,
|
|
|
|
run all tests, both root-only and regular.
|
|
|
|
Run *all* non-root tests, including expensive and very expensive ones i.e.,
|
2009-05-01 23:55:11 +08:00
|
|
|
run this: make -j1 check RUN_VERY_EXPENSIVE_TESTS=yes RUN_EXPENSIVE_TESTS=yes
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
Run the root-only tests:
|
|
|
|
sudo env PATH="$PATH" NON_ROOT_USERNAME=$USER make -k check-root
|
|
|
|
|
|
|
|
* Run "make distcheck"
|
|
|
|
|
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
|
|
|
|
2009-10-31 18:08:03 +08:00
|
|
|
build-aux/do-release-commit-and-tag 8.1 beta
|
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
|
|
|
|
soon post.
|
|
|
|
|
|
|
|
Once all the builds and tests have passed,
|
|
|
|
|
2009-05-14 15:54:22 +08:00
|
|
|
* Run the gnupload command that was suggested by your "make major" 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.
|
|
|
|
|
|
|
|
* Push the new tag:
|
2009-10-06 22:49:36 +08:00
|
|
|
|
|
|
|
v=$(cat .prev-version)
|
|
|
|
git push origin tag v$v
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
* Send the gpg-signed announcement mail, e.g.,
|
2009-10-06 22:49:36 +08:00
|
|
|
|
2009-03-02 04:29:21 +08:00
|
|
|
To: info-gnu@gnu.org, coreutils-announce@gnu.org
|
|
|
|
Cc: coordinator@translationproject.org, bug-coreutils@gnu.org
|
2009-10-06 22:49:36 +08:00
|
|
|
Subject: coreutils-8.0 released [beta]
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
* Approve the announcement here:
|
|
|
|
http://lists.gnu.org/mailman/admindb/coreutils-announce
|
|
|
|
|
|
|
|
* Announce it on Savannah, too:
|
|
|
|
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
|
|
|
|
2009-10-06 22:49:36 +08:00
|
|
|
Subject: coreutils-0.0 released [beta]
|
2009-03-02 04:29:21 +08:00
|
|
|
The announcement is here:
|
2009-10-06 22:49:36 +08:00
|
|
|
http://article.gmane.org/gmane.comp.gnu.core-utils.announce/54
|
2009-03-02 04:29:21 +08:00
|
|
|
|
|
|
|
Then go here to approve it:
|
|
|
|
https://savannah.gnu.org/news/approve.php?group=coreutils
|
|
|
|
|
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
|