Print this document.
+Specify the release version.
+
+ VERSION=2.5.4
+
## Issues
Check the following issue filters:
## Backport Commits
$ git checkout master
- $ ./pick.py -V 2.5.3
+ $ ./pick.py -V $VERSION
-The script creates a new branch 'auto-merged-2.5.3' which is based on the
+The script creates a new branch 'auto-merged-<VERSION>' which is based on the
current support branch. It then merges all commits from the 'master' branch which
reference a ticket for the version that was specified.
* [icinga2.nuspec]: <version>(.*)</version>
* [tools/chocolateyInstall.ps1]: Icinga2-v(.*)-{x86,x86_64}.msi
+Example:
+
+ gsed -i "s/Version: .*/Version: $VERSION/g" icinga2.spec
+ gsed -i "s/<version>.*<\/version>/<version>$VERSION<\/version>/g" icinga2.nuspec
+ gsed -i "s/Icinga2-v.*-/Icinga2-v$VERSION-/g" tools/chocolateyInstall.ps1
+
## Changelog
Update the [ChangeLog](ChangeLog), [doc/1-about.md](doc/1-about.md) files using
Changelog:
- $ ./changelog.py -V 2.5.0
+ $ ./changelog.py -V $VERSION
Docs:
- $ ./changelog.py -V 2.5.0 -l
+ $ ./changelog.py -V $VERSION -l
Wordpress:
- $ ./changelog.py -V 2.5.0 -H -l
+ $ ./changelog.py -V $VERSION -H -l
## Git Tag
Commit these changes to the "master" branch:
- $ git commit -v -a -m "Release version <VERSION>"
+ $ git commit -v -a -m "Release version $VERSION"
For minor releases: Cherry-pick this commit into the "support" branch.
GB:
- $ git tag -u EE8E0720 -m "Version <VERSION>" v<VERSION>
+ $ git tag -u EE8E0720 -m "Version $VERSION" v$VERSION
MF:
- $ git tag -u D14A1F16 -m "Version <VERSION>" v<VERSION>
+ $ git tag -u D14A1F16 -m "Version $VERSION" v$VERSION
Push the tag.
Install the created icinga2 package locally:
- choco install icinga2 -version 2.5.3 -fdv "%cd%" -source "'%cd%;https://chocolatey.org/api/v2/'"
+ choco install icinga2 -version 2.5.4 -fdv "%cd%" -source "'%cd%;https://chocolatey.org/api/v2/'"
Upload the package to [chocolatey](https://chocolatey.org/packages/upload).
<!-- Read this before publishing packages to chocolatey.org: https://github.com/chocolatey/chocolatey/wiki/CreatePackages -->\r
<id>icinga2</id>\r
<title>Icinga2</title>\r
- <version>2.5.3</version>\r
+ <version>2.5.4</version>\r
<authors>2016 - The Icinga Project</authors>\r
<owners>Icinga Development Team</owners>\r
<summary>icinga2 - Monitoring Agent for Windows</summary>\r
$packageName = 'icinga2'\r
$installerType = 'msi'\r
-$url32 = 'http://packages.icinga.org/windows/Icinga2-v2.5.3-x86.msi'\r
-$url64 = 'http://packages.icinga.org/windows/Icinga2-v2.5.3-x86_64.msi'\r
+$url32 = 'http://packages.icinga.org/windows/Icinga2-v2.5.4-x86.msi'\r
+$url64 = 'http://packages.icinga.org/windows/Icinga2-v2.5.4-x86_64.msi'\r
$silentArgs = '/qn /norestart'\r
$validExitCodes = @(0)\r
\r