|
|
@@ -1,64 +1,76 @@
|
|
|
-NOTES ON RELEASING NEW VERSION OF NAGIOSPLUG
|
|
|
-
|
|
|
-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 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
|
|
|
-
|
|
|
-*** Push the code and tag to origin
|
|
|
-git push origin master
|
|
|
-git push origin release-1.4.14
|
|
|
-
|
|
|
-*** 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
|
|
|
-
|
|
|
-*** Build the tarball
|
|
|
-cd /tmp/nagioslug
|
|
|
-tools/setup
|
|
|
-./configure
|
|
|
-make dist
|
|
|
-
|
|
|
-*** Upload generated tarball to sourceforge
|
|
|
-sftp frs.sourceforge.net
|
|
|
-SF username and password
|
|
|
-cd /uploads
|
|
|
-put file
|
|
|
-
|
|
|
-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 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
|
|
|
-
|
|
|
-*** Announce new release
|
|
|
-Send email to nagiosplug-help, nagios-announce with the news text
|
|
|
-Add a news item to http://nagiosplugins.org
|
|
|
+The Nagios Plugins Release Process
|
|
|
+
|
|
|
+This document describes the process to release a new version of Nagios Plugins.
|
|
|
+
|
|
|
+*** Pre-Release:
|
|
|
+
|
|
|
+Verify that the release branch is not behind master on any commits. If it is, merge master into release branch first.
|
|
|
+Then merge the release branch into master and push to origin.
|
|
|
+Checkout master, pull, and then build one more time. Check compilation, make all, and make test.
|
|
|
+ $ . tools/devmode (if you are feeling adventurous.) $ ./configure$ make all$ make test
|
|
|
+
|
|
|
+
|
|
|
+*** Verify Attribution Files:
|
|
|
+
|
|
|
+Make sure all contributors since last release have been added to THANKS.in.
|
|
|
+Update AUTHORS if there are new project members.
|
|
|
+
|
|
|
+
|
|
|
+*** Prepare and Commit Release Files:
|
|
|
+
|
|
|
+Update NEWS file - adhere to the format found in earlier entries.
|
|
|
+Update configure.ac and NP-VERSION-GEN with version:
|
|
|
+NP-VERSION-GEN:
|
|
|
+
|
|
|
+ DEF_VER=x.x.x.git
|
|
|
+
|
|
|
+configure.ac:
|
|
|
+
|
|
|
+ AC_INIT(nagios-plugins,x.x.x)
|
|
|
+
|
|
|
+Commit NEWS, configure.ac, and NP-VERSION-GEN - use the commit message "Prep for x.x.x"
|
|
|
+
|
|
|
+
|
|
|
+*** Create a New Annotated Tag:
|
|
|
+
|
|
|
+ $ git tag -a release-x.x.x -m release-x.x.x
|
|
|
+
|
|
|
+
|
|
|
+*** Push the Code and Tag to Origin:
|
|
|
+
|
|
|
+ $ git push origin master$ git push origin release-x.x.x
|
|
|
+
|
|
|
+
|
|
|
+*** Prepare Tarball for Release:
|
|
|
+
|
|
|
+[to do by Scott]
|
|
|
+
|
|
|
+
|
|
|
+*** Release the New Tarball:
|
|
|
+
|
|
|
+[to do by Scott]
|
|
|
+
|
|
|
+
|
|
|
+*** New Release Announcement Format:
|
|
|
+
|
|
|
+The standard title/subject and body for a release announcement:
|
|
|
+
|
|
|
+Title/Subject:
|
|
|
+
|
|
|
+ Nagios Plugins x.x.x Released
|
|
|
+
|
|
|
+Body:
|
|
|
+
|
|
|
+ The Nagios Plugins Development Team is proud to announce that nagios-plugins x.x.x has been released and is available for download (http://nagios-plugins.org/downloads/).[A short description of the big changes in the release][Release changes from NEWS file
|
|
|
+
|
|
|
+
|
|
|
+*** Announce New Release:
|
|
|
+
|
|
|
+1. Post to: https://nagios-plugins.org/
|
|
|
+Use the same format as previous release posts.
|
|
|
+
|
|
|
+2. Post to: https://support.nagios.com/forum/viewforum.php?f=35
|
|
|
+Use the same format as previous release posts.
|
|
|
+Make sure to change the topic type to "Announce" and remove the "Announce" type from the current Nagios-Plugins release post.
|
|
|
+
|
|
|
+3. Email announcement to mailing list: nagios-announce@lists.nagios.com
|