3 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:
24 git log --use-mailmap | grep '^Author:' | cut -f2- -d' ' | sort | uniq > AUTHORS
29 Update the version in the spec file:
32 gsed -i "s/Version: .*/Version: $VERSION/g" icinga2.spec
37 Update the [CHANGELOG.md](CHANGELOG.md) file.
39 Export these environment variables:
42 export ICINGA_GITHUB_AUTH_USERNAME='user'
43 export ICINGA_GITHUB_AUTH_TOKEN='token'
44 export ICINGA_GITHUB_PROJECT='icinga/icinga2'
47 Run the script which updates the [CHANGELOG.md](CHANGELOG.md) file.
56 Commit these changes to the "master" branch:
59 git commit -v -a -m "Release version $VERSION"
62 For minor releases: Cherry-pick this commit into the "support" branch.
64 Create a signed tag (tags/v<VERSION>) on the "master" branch (for major
65 releases) or the "support" branch (for minor releases).
70 git tag -u EE8E0720 -m "Version $VERSION" v$VERSION
76 git tag -u D14A1F16 -m "Version $VERSION" v$VERSION
82 git tag -u 630F89D9 -m "Version $VERSION" v$VERSION
90 For major releases: Create a new "support" branch:
94 git checkout -b support/2.7
95 git push -u origin support/2.7
98 For minor releases: Push the support branch, cherry-pick the release commit
99 into master and merge the support branch:
102 git push -u origin support/2.7
104 git cherry-pick support/2.7
105 git merge --strategy=ours support/2.7
106 git push origin master
109 # External Dependencies
113 * Verify package build changes for this version.
114 * Test the snapshot packages for all distributions beforehand.
115 * Build the newly created Git tag for Debian/RHEL/SuSE.
116 * Build the newly created Git tag for Windows.
120 * Test DB IDO with MySQL and PostgreSQL.
121 * Provision the vagrant boxes and test the release packages.
122 * Test the [setup wizard](https://packages.icinga.com/windows/) inside a Windows VM.
124 * Start a new docker container and install/run icinga2.
129 docker run -ti centos:latest bash
131 yum -y install https://packages.icinga.com/epel/icinga-rpm-release-7-latest.noarch.rpm
132 yum -y install icinga2
138 Create a new release for the newly created Git tag.
139 https://github.com/Icinga/icinga2/releases
143 Navigate to the git repository on your Windows box which
144 already has chocolatey installed. Pull/checkout the release.
146 Create the nupkg package:
152 Install the created icinga2 package locally:
155 choco install icinga2 -version 2.7.0 -fdv "%cd%" -source "'%cd%;https://chocolatey.org/api/v2/'"
158 Upload the package to [chocolatey](https://chocolatey.org/packages/upload).
160 ## Online Documentation
162 Edit `config.yml` in the [icinga-docs-tools](https://github.com/Icinga/icinga-docs-tools) repository:
165 git clone git@github.com:Icinga/icinga-docs-tools.git
166 cd icinga-docs-tools/
169 git commit -av -m "Update to Icinga 2 v$VERSION"
173 SSH into the web VM and build the docs:
176 cd /var/www/docs/icinga-docs/latest/
177 /usr/bin/bundle exec ./build-docs.rb
182 * Create a new blog post on www.icinga.com/blog
183 * 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)
184 * Update IRC channel topic
188 * Add new minor version on [GitHub](https://github.com/Icinga/icinga2/milestones).
189 * Close the released version on [GitHub](https://github.com/Icinga/icinga2/milestones).