1 Here are the steps to follow to create a new notmuch release:
3 1) Verify that what you want to release is committed. The release
4 process will release the code from the current HEAD commit.
6 2) Verify that the NEWS file is up to date.
8 Read through the entry at the top of the NEWS file and see if
9 you are aware of any major features recently added that are
10 not mentioned there. If so, pleas add them, (and ask the
11 authors of the commits to update NEWS in the future).
13 3) Verify that the notmuch test suite passes.
15 Currently this is by running:
19 And manually verifying that every test says PASS. We plan to
20 fix this to automatically check the results and even to
21 automatically run the test suite as part of a Makefile target
24 4) Increment the libnotmuch library version in lib/Makefile.local
26 See the instructions there for how to increment it. The
27 command below can be useful for inspecting header-file changes
28 since the last release X.Y.Z:
30 git diff X.Y.Z..HEAD -- lib/notmuch.h
32 Note: We currently don't plan to increment
33 LIBNOTMUCH_VERSION_MAJOR beyond 1, so if there *are*
34 incompatible changes to the library interface, then
35 stop. Don't release. Figure out the plan on the notmuch
40 5) Run "make VERSION=X.Y release" which will perform the following steps:
42 For the X.Y version, we'll generally just increment Y. But for
43 major milestones of usability we're increment X as well.
45 * Check that the notmuch version consists of only two components
46 * Check that no release exists with the current version
47 * Verify that "make dist" completes successfully
48 * Generate the final tar file
49 * Generate an sha1sum file
50 * Sign the sha1sum using your GPG setup (asks for your GPG password)
51 * scp the three files to appear on http://notmuchmail.org/releases
52 * Place local copies of the three files in the releases directory
53 * Create a LATEST-notmuch-version file (after deleting any old one)
54 * Tag the entire source tree with a tag of the form X.Y.Z, and sign
55 the tag with your GPG key (asks for your GPG password, and you
56 may need to set GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL to match
57 your public-key's setting or this fails.)
59 * Provide some text for the release announcement (see below).
61 6) Increment the notmuch version by adding a .1 micro number, commit, and push.
63 7) Send a message to notmuch@notmuchmail.org to announce the release.
65 Use the text provided from "make release" above, (if for some
66 reason you lose this message, "make release-message" prints