5 Specify the release version.
11 Check issues at https://github.com/Icinga/icinga2
15 For minor versions you need to manually backports any and all commits from the
16 master branch which should be part of this release.
20 Update the [.mailmap](.mailmap) and [AUTHORS](AUTHORS) files:
23 $ git log --use-mailmap | grep ^Author: | cut -f2- -d' ' | sort | uniq > AUTHORS
27 Update the version number in the following file:
29 * [icinga2.spec]: Version: (.*)
33 gsed -i "s/Version: .*/Version: $VERSION/g" icinga2.spec
37 Update the [ChangeLog](ChangeLog), [doc/1-about.md](doc/1-about.md) files. Also generate HTML
38 for the wordpress release announcement.
42 Commit these changes to the "master" branch:
44 $ git commit -v -a -m "Release version $VERSION"
46 For minor releases: Cherry-pick this commit into the "support" branch.
48 Create a signed tag (tags/v<VERSION>) on the "master" branch (for major
49 releases) or the "support" branch (for minor releases).
53 $ git tag -u EE8E0720 -m "Version $VERSION" v$VERSION
57 $ git tag -u D14A1F16 -m "Version $VERSION" v$VERSION
63 For major releases: Create a new "support" branch:
66 $ git checkout -b support/2.6
67 $ git push -u origin support/2.6
69 For minor releases: Push the support branch, cherry-pick the release commit
70 into master and merge the support branch:
72 $ git push -u origin support/2.6
74 $ git cherry-pick support/2.6
75 $ git merge --strategy=ours support/2.6
76 $ git push origin master
78 # External Dependencies
82 * Verify package build changes for this version.
83 * Test the snapshot packages for all distributions beforehand.
84 * Build the newly created Git tag for Debian/RHEL/SuSE.
85 * Build the newly created Git tag for Windows.
89 * Test DB IDO with MySQL and PostgreSQL.
90 * Provision the vagrant boxes and test the release packages.
91 * Test the [setup wizard](http://packages.icinga.com/windows/) inside a Windows VM.
93 * Start a new docker container and install/run icinga2.
97 $ docker run -ti centos:latest bash
99 # yum -y install http://packages.icinga.com/epel/7/release/noarch/icinga-rpm-release-7-1.el7.centos.noarch.rpm
100 # yum -y install icinga2
103 # systemctl start icinga2
104 # tail -f /var/log/icinga2/icinga2.log
108 Create a new release for the newly created Git tag.
109 https://github.com/Icinga/icinga2/releases
113 Navigate to the git repository on your Windows box which
114 already has chocolatey installed. Pull/checkout the release.
116 Create the nupkg package:
120 Install the created icinga2 package locally:
122 choco install icinga2 -version 2.6.3 -fdv "%cd%" -source "'%cd%;https://chocolatey.org/api/v2/'"
124 Upload the package to [chocolatey](https://chocolatey.org/packages/upload).
126 ## Online Documentation
128 SSH into the web box, navigate into `icinga2-latest/module/icinga2`
129 and pull the current support branch.
133 * Create a new blog post on www.icinga.com/blog
134 * Send announcement mail to icinga-announce@lists.icinga.org
135 * Social media: [Twitter](https://twitter.com/icinga), [Facebook](https://www.facebook.com/icinga), [G+](http://plus.google.com/+icinga), [Xing](https://www.xing.com/communities/groups/icinga-da4b-1060043), [LinkedIn](https://www.linkedin.com/groups/Icinga-1921830/about)
136 * Update IRC channel topic
140 * Add new minor version
141 * Close the released version
142 * Update Redmine filters for the next major/minor version