Update RELEASE checklist

This commit is contained in:
Michael Friedrich 2019-03-19 11:50:30 +01:00
parent 4257ccecca
commit 07161899e0
1 changed files with 19 additions and 16 deletions

View File

@ -26,7 +26,7 @@
Specify the release version. Specify the release version.
``` ```
VERSION=2.10.2 VERSION=2.10.4
``` ```
Add your signing key to your Git configuration file, if not already there. Add your signing key to your Git configuration file, if not already there.
@ -162,17 +162,19 @@ git checkout release && git pull
Set the `Version`, `Revision` and `changelog` inside the spec file. Set the `Version`, `Revision` and `changelog` inside the spec file.
``` ```
VERSION=2.10.4
sed -i "s/Version: .*/Version: $VERSION/g" icinga2.spec sed -i "s/Version: .*/Version: $VERSION/g" icinga2.spec
vim icinga2.spec vim icinga2.spec
%changelog %changelog
* Tue Jul 17 2018 Michael Friedrich <michael.friedrich@icinga.com> 2.9.0-1 * Tue Mar 19 2019 Michael Friedrich <michael.friedrich@icinga.com> 2.10.4-1
- Update to 2.9.0 - Update to 2.10.4
``` ```
``` ```
git commit -av -m "Release 2.9.0-1" git commit -av -m "Release $VERSION-1"
git push git push
``` ```
@ -211,20 +213,19 @@ git checkout release && git pull
#### Release Commit #### Release Commit
Set the `Version`, `Revision` and `changelog` inside the spec file. Set the `Version`, `Revision` and `changelog` by using the `dch` helper.
``` ```
./dch 2.9.0-1 "Update to 2.9.0" VERSION=2.10.4
./dch $VERSION-1 "Update to $VERSION"
``` ```
``` ```
git commit -av -m "Release 2.9.0-1" git commit -av -m "Release $VERSION-1"
git push git push
``` ```
```
git commit -av -m "Release 2.9.0-1"
```
**Note for major releases**: Update release branch to latest. **Note for major releases**: Update release branch to latest.
@ -241,7 +242,7 @@ git checkout master && git pull && git cherry-pick release && git push
#### DEB with dch on macOS #### DEB with dch on macOS
``` ```
docker run -v `pwd`:/mnt/packaging -ti ubuntu:xenial bash docker run -v `pwd`:/mnt/packaging -ti ubuntu:bionic bash
apt-get update && apt-get install git ubuntu-dev-tools vim -y apt-get update && apt-get install git ubuntu-dev-tools vim -y
cd /mnt/packaging cd /mnt/packaging
@ -249,7 +250,9 @@ cd /mnt/packaging
git config --global user.name "Michael Friedrich" git config --global user.name "Michael Friedrich"
git config --global user.email "michael.friedrich@icinga.com" git config --global user.email "michael.friedrich@icinga.com"
./dch 2.10.0-1 "Update to 2.10.0" VERSION=2.10.4
./dch $VERSION-1 "Update to $VERSION"
``` ```
@ -354,7 +357,7 @@ git merge testing
git push git push
``` ```
SSH into icinga-web1 and do a manual Puppet run from the production environment (default). SSH into icinga-web2 and do a manual Puppet run from the production environment (default).
``` ```
puppet agent -t puppet agent -t
@ -362,9 +365,9 @@ puppet agent -t
### Announcement <a id="announcement"></a> ### Announcement <a id="announcement"></a>
* Create a new blog post on icinga.com/blog * Create a new blog post on [icinga.com/blog](https://icinga.com/blog) including a featured image
* Social media: [Twitter](https://twitter.com/icinga), [Facebook](https://www.facebook.com/icinga), [Xing](https://www.xing.com/communities/groups/icinga-da4b-1060043), [LinkedIn](https://www.linkedin.com/groups/Icinga-1921830/about) * Create a release topic on [community.icinga.com](https://community.icinga.com)
* Update IRC channel topic * Release email to team
### Project Management <a id="project-management"></a> ### Project Management <a id="project-management"></a>