3 Specify the release version.
9 Check issues at https://github.com/Icinga/icinga2
13 For minor versions you need to manually backports any and all commits from the
14 master branch which should be part of this release.
18 Update the [.mailmap](.mailmap) and [AUTHORS](AUTHORS) files:
21 $ git log --use-mailmap | grep ^Author: | cut -f2- -d' ' | sort | uniq > AUTHORS
25 Update the version number in the following file:
27 * [icinga2.spec]: Version: (.*)
31 wget -O icinga2.spec https://raw.githubusercontent.com/Icinga/icinga-packaging/rpm/snapshot/icinga2/icinga2.spec
32 gsed -i "s/Version: .*/Version: $VERSION/g" icinga2.spec
36 Update the [CHANGELOG.md](CHANGELOG.md) file.
40 Commit these changes to the "master" branch:
42 $ git commit -v -a -m "Release version $VERSION"
44 For minor releases: Cherry-pick this commit into the "support" branch.
46 Create a signed tag (tags/v<VERSION>) on the "master" branch (for major
47 releases) or the "support" branch (for minor releases).
51 $ git tag -u EE8E0720 -m "Version $VERSION" v$VERSION
55 $ git tag -u D14A1F16 -m "Version $VERSION" v$VERSION
61 For major releases: Create a new "support" branch:
64 $ git checkout -b support/2.7
65 $ git push -u origin support/2.7
67 For minor releases: Push the support branch, cherry-pick the release commit
68 into master and merge the support branch:
70 $ git push -u origin support/2.7
72 $ git cherry-pick support/2.7
73 $ git merge --strategy=ours support/2.7
74 $ git push origin master
76 # External Dependencies
80 * Verify package build changes for this version.
81 * Test the snapshot packages for all distributions beforehand.
82 * Build the newly created Git tag for Debian/RHEL/SuSE.
83 * Build the newly created Git tag for Windows.
87 * Test DB IDO with MySQL and PostgreSQL.
88 * Provision the vagrant boxes and test the release packages.
89 * Test the [setup wizard](https://packages.icinga.com/windows/) inside a Windows VM.
91 * Start a new docker container and install/run icinga2.
95 $ docker run -ti centos:latest bash
97 # yum -y install https://packages.icinga.com/epel/7/release/noarch/icinga-rpm-release-7-2.el7.centos.noarch.rpm
98 # yum -y install icinga2
101 # systemctl start icinga2
102 # tail -f /var/log/icinga2/icinga2.log
106 Create a new release for the newly created Git tag.
107 https://github.com/Icinga/icinga2/releases
111 Navigate to the git repository on your Windows box which
112 already has chocolatey installed. Pull/checkout the release.
114 Create the nupkg package:
118 Install the created icinga2 package locally:
120 choco install icinga2 -version 2.7.0 -fdv "%cd%" -source "'%cd%;https://chocolatey.org/api/v2/'"
122 Upload the package to [chocolatey](https://chocolatey.org/packages/upload).
124 ## Online Documentation
126 SSH into the web box, navigate into `icinga2-latest/module/icinga2`
127 and pull the current support branch.
131 * Create a new blog post on www.icinga.com/blog
132 * Send announcement mail to icinga-announce@lists.icinga.org
133 * Social media: [Twitter](https://twitter.com/icinga), [Facebook](https://www.facebook.com/icinga), [G+](https://plus.google.com/+icinga), [Xing](https://www.xing.com/communities/groups/icinga-da4b-1060043), [LinkedIn](https://www.linkedin.com/groups/Icinga-1921830/about)
134 * Update IRC channel topic
138 * Add new minor version on [GitHub](https://github.com/Icinga/icinga2/milestones).
139 * Close the released version on [GitHub](https://github.com/Icinga/icinga2/milestones).