Code

Fix for regex input of '|', being output causing problems with Nagios' parsing of
[nagiosplug.git] / doc / RELEASING
1 NOTES ON RELEASING NEW VERSION OF NAGIOSPLUG
3 NB: A copy of this document is located at:
4     http://nagiosplugins.org/node/96
6 *** Pre-release
7 git pull
8 . tools/devmode, if feeling adventurous
9 check compilation, check tinderbox screens
11 *** Prepare and commit files
12 Update BUGS, NEWS file
13 Update AUTHORS if new members
14 Update configure.in, package.def and NP-VERSION-GEN with version
15 Run git2cl (get from http://josefsson.org/git2cl/):
16 git2cl >Changelog
17 commit BUGS NEWS configure.in package.def ChangeLog
19 *** Create new annotated tag
20 git tag -a release-1.4.14 -m release-1.4.14
22 *** Push the code and tag to origin
23 git push origin master
24 git push origin release-1.4.14
26 *** Checkout new version
27 rm -fr /tmp/nagioslug
28 # If you need to checkout the tag, don't forget to "checkout master" later to
29 # get back to your development branch:
30 git checkout tags/release-1.4.14
31 # Beware: the trailing slash of --prefix is REQUIRED
32 git checkout-index --prefix=/tmp/nagioslug/ -a
34 *** Build the tarball
35 cd /tmp/nagioslug
36 tools/setup
37 ./configure
38 make dist
40 *** Upload generated tarball to sourceforge
41 sftp frs.sourceforge.net
42 SF username and password
43 cd /uploads
44 put file
46 SF -> Submit News about release. Make sure it is called "Nagios Plugins" (with those caps)
47 Link to download at http://sourceforge.net/project/showfiles.php?group_id=29880
48 Include contents of NEWS for this release
49 List all people on team involved.
50 Add acknowledgement to contributors
51 Submit. Get URL to news item
53 SF -> Admin -> File Releases
54 Add a release to nagiosplug and create a file release
55 Name: 1.4.14
56 Create release
57 Step 1: Add release notes pointing to news item
58 Step 2: add file
59 Step 3: *.tar.gz, Platform Independent, Source .gz
60 Step 4: Send notice
62 *** Announce new release
63 Send email to nagiosplug-help, nagios-announce with the news text
64 Add a news item to http://nagiosplugins.org