Skip to content

Commit

Permalink
Update RELEASE checklist
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Friedrich committed Mar 19, 2019
1 parent 4257cce commit 0716189
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
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.
Expand Down Expand Up @@ -162,17 +162,19 @@ git checkout release && git pull
Set the `Version`, `Revision` and `changelog` inside the spec file.

```
VERSION=2.10.4
sed -i "s/Version: .*/Version: $VERSION/g" icinga2.spec
vim icinga2.spec
%changelog
* Tue Jul 17 2018 Michael Friedrich <[email protected]> 2.9.0-1
- Update to 2.9.0
* Tue Mar 19 2019 Michael Friedrich <[email protected]> 2.10.4-1
- Update to 2.10.4
```

```
git commit -av -m "Release 2.9.0-1"
git commit -av -m "Release $VERSION-1"
git push
```

Expand Down Expand Up @@ -211,20 +213,19 @@ git checkout release && git pull

#### 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 commit -av -m "Release 2.9.0-1"
```

**Note for major releases**: Update release branch to latest.

Expand All @@ -241,15 +242,17 @@ git checkout master && git pull && git cherry-pick release && git push
#### 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
cd /mnt/packaging
git config --global user.name "Michael Friedrich"
git config --global user.email "[email protected]"
./dch 2.10.0-1 "Update to 2.10.0"
VERSION=2.10.4
./dch $VERSION-1 "Update to $VERSION"
```


Expand Down Expand Up @@ -354,17 +357,17 @@ git merge testing
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
```

### Announcement <a id="announcement"></a>

* Create a new blog post on icinga.com/blog
* 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)
* Update IRC channel topic
* Create a new blog post on [icinga.com/blog](https://icinga.com/blog) including a featured image
* Create a release topic on [community.icinga.com](https://community.icinga.com)
* Release email to team

### Project Management <a id="project-management"></a>

Expand Down

0 comments on commit 0716189

Please sign in to comment.