Code

Attempt at fixing check_snmp multiline output:
[nagiosplug.git] / doc / RELEASING
index ec9c3b50262288ef58db901f8cc88ca2f8102d80..34bed9394dfcfbb0495180056428673323cc593e 100644 (file)
@@ -1,41 +1,64 @@
 NOTES ON RELEASING NEW VERSION OF NAGIOSPLUG
 
-cvs update in main area
+NB: A copy of this document is located at:
+    http://nagiosplugins.org/node/96
+
+*** Pre-release
+git pull
 . tools/devmode, if feeling adventurous
-check compilation
+check compilation, check tinderbox screens
+
+*** Prepare and commit files
+Update BUGS, NEWS file
+Update AUTHORS if new members
+Update configure.in, package.def and NP-VERSION-GEN with version
+Run git2cl (get from http://josefsson.org/git2cl/):
+git2cl >Changelog
+commit BUGS NEWS configure.in package.def ChangeLog
+
+*** Create new annotated tag
+git tag -a release-1.4.14 -m release-1.4.14
 
-Run cvs2cl
-commit new ChangeLog
+*** Push the code and tag to origin
+git push origin master
+git push origin release-1.4.14
 
-cvs tag r1_4_0-alpha2
+*** Checkout new version
+rm -fr /tmp/nagioslug
+# If you need to checkout the tag, don't forget to "checkout master" later to
+# get back to your development branch:
+git checkout tags/release-1.4.14
+# Beware: the trailing slash of --prefix is REQUIRED
+git checkout-index --prefix=/tmp/nagioslug/ -a
 
-checkout new version
-cd /tmp
-rm -fr nagiosplug
-cvs -z3 -d:ext:tonvoon@cvs.sourceforge.net:/cvsroot/nagiosplug co -r 1_4_0-alpha2 nagiosplug
-cd nagiosplug
+*** Build the tarball
+cd /tmp/nagioslug
 tools/setup
 ./configure
 make dist
 
-ftp upload.sf.net
-anonymous/email
-bin
-cd /incoming
+*** Upload generated tarball to sourceforge
+sftp frs.sourceforge.net
+SF username and password
+cd /uploads
 put file
 
-SF -> Submit News about release.
-Get URL to news item
+SF -> Submit News about release. Make sure it is called "Nagios Plugins" (with those caps)
+Link to download at http://sourceforge.net/project/showfiles.php?group_id=29880
+Include contents of NEWS for this release
+List all people on team involved.
+Add acknowledgement to contributors
+Submit. Get URL to news item
 
-SF -> Admin -> File Release System
-Edit nagiosplug and create a file release
-name: 1.4.0alpha2. Commit
+SF -> Admin -> File Releases
+Add a release to nagiosplug and create a file release
+Name: 1.4.14
+Create release
 Step 1: Add release notes pointing to news item
 Step 2: add file
 Step 3: *.tar.gz, Platform Independent, Source .gz
 Step 4: Send notice
 
-Send email to nagiosplug-help, nagios-announce, nagiosplug-devel
-
-Change version number in configure.in
-
+*** Announce new release
+Send email to nagiosplug-help, nagios-announce with the news text
+Add a news item to http://nagiosplugins.org