summaryrefslogtreecommitdiffstats
path: root/doc/RELEASING
blob: ed3e546c380b9611934bf0e19191161c550aca40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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 tag
git tag 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.1
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