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