OSDN Git Service

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