OSDN Git Service

maint: remove r/hfs/DOC,HISTORY,TODO; add VERSION for new library
[android-x86/external-parted.git] / README-release
1 Here are most of the steps we (maintainers) follow when making a release.
2
3 * start from a clean, up-to-date git directory.
4
5     git checkout master; git pull
6
7 * Adjust shared-library settings, CURRENT:REVISION:AGE in
8   libparted/Makefile.am, following instructions in the comments there.
9
10 * Run ./configure && make maintainer-clean
11
12 * Ensure that the desired versions of autoconf, automake, etc.
13   are in your PATH.  See the buildreq list in bootstrap.conf for
14   the complete list.
15
16 * Ensure that you're on "master" with no uncommitted diffs.
17   This should produce no output: git checkout master; git diff
18
19 * Run bootstrap one last time.  This downloads any new translations:
20
21     ./bootstrap
22
23 * Pre-release testing:
24   Ensure that make check syntax-check succeeds.
25
26 * Run "make distcheck"
27
28 * Set the date, version number, and release type [stable/alpha/beta] on
29   line 3 of NEWS, commit that, and tag the release by running e.g.,
30
31     build-aux/do-release-commit-and-tag X.Y stable
32
33 * Run the following to create release tarballs.  Your choice selects the
34   corresponding upload-to destination in the emitted gnupload command.
35   The different destinations are specified in cfg.mk.  See the definitions
36   of gnu_ftp_host-{alpha,beta,stable}.
37
38     # "TYPE" must be stable, beta or alpha
39     make TYPE
40
41 * Test the tarball.  copy it to a few odd-ball systems and ensure that
42   it builds and passes all tests.
43
44 * While that's happening, write the release announcement that you will
45   soon post.
46
47 Once all the builds and tests have passed,
48
49 * Run the gnupload command that was suggested by your "make stable" run above.
50
51 * Wait a few minutes (maybe up to 30?) and then use the release URLs to
52   download all tarball/signature pairs and use gpg --verify to ensure
53   that they're all valid.
54
55 * Push the NEWS-updating changes and the new tag:
56
57     v=$(cat .prev-version)
58     git push origin master tag v$v
59
60 * Announce it on Savannah first, so you can include the preferable
61   savannah.org announcement link in the email message.
62
63   From here:
64     https://savannah.gnu.org/projects/parted/
65   click on the "submit news", then write something like the following:
66   (If there is no such button, then enable "News" for the project via
67    the Main -> "Select Features" menu item, or via this link:
68    https://savannah.gnu.org/project/admin/editgroupfeatures.php?group=parted)
69
70     Subject: parted-X.Y released [stable]
71     +verbatim+
72     ...paste the announcement here...
73     -verbatim-
74
75   Then go here to approve it:
76     https://savannah.gnu.org/news/approve.php?group=parted
77
78 * Send the announcement email message.
79
80 * After each non-alpha release, update the on-line manual accessible via
81
82     http://www.gnu.org/software/parted/manual/
83
84   by running this:
85
86     build-aux/gnu-web-doc-update