summaryrefslogtreecommitdiffstats
path: root/RELEASE.md
blob: 6d53b687f80eaafd1efea5190949f41d70b854d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Release Workflow

Print this document.

Specify the release version.

```
VERSION=1.1.0
```

## Issues

Check issues at https://github.com/nbuchwitz/icingaweb2-module-map/milestones

## Version

Update the version number in the following file:

* [module.info](module.info): Version: (.*)

Example:

```
sed -i "s/Version: .*/Version: $VERSION/g" module.info
```

## Changelog

Ensure to have [github_changelog_generator](https://github.com/skywinder/github-changelog-generator)
installed and set the GitHub token to avoid rate limiting.

```
github_changelog_generator -u nbuchwitz -p icingaweb2-module-map --future-release=$VERSION
```

## Git Tag

Commit these changes to the "master" branch:

```
$ git commit -v -a -m "Release version $VERSION"
```

Create a signed tag (tags/v<VERSION>) on the "master" branch.

```
$ git tag -m "Version $VERSION" v$VERSION
```
Push the tag.

```
$ git push --tags
```

# External Dependencies

## Release Tests

* Provision the vagrant boxes and pull the master in `/usr/share/icingaweb2/modules/map`

Example:

```
$ git clone https://github.com/Icinga/icinga-vagrant.git
$ cd icinga-vagrant/standalone
$ vagrant up
$ vagrant ssh -c "cd /usr/share/icingaweb2/modules/map && sudo git pull"
```

## GitHub Release

Create a new release for the newly created Git tag.
https://github.com/nbuchwitz/icingaweb2-module-map/releases

Note: A new GitHub release will be synced by Icinga Exchange automatically.

## Announcement

* Twitter (highlight @icinga, use hashtags #icinga #map #monitoringlove)
* Forum: https://monitoring-portal.org/t/map-module-for-icinga-web-2/101

# After the release

* Close the released version at https://github.com/nbuchwitz/icingaweb2-module-map/milestones