blob: c2aba0d4d2e0d48f16fa16f698b38688c8f4ec04 (
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
|
# Release Workflow
Specify the release version.
```
VERSION=1.1.0
```
## Issues
Check issues at https://github.com/Icinga/icingaweb2-module-pnp
## Authors
Update the [.mailmap](.mailmap) and [AUTHORS](AUTHORS) files:
```
git checkout master
git log --use-mailmap | grep ^Author: | cut -f2- -d' ' | sort | uniq > AUTHORS
```
## Changelog
Update the [CHANGELOG.md](CHANGELOG.md) file.
Uses [github_changelog_generator](https://github.com/skywinder/github-changelog-generator)
```
export CHANGELOG_GITHUB_TOKEN=xxx
github_changelog_generator --future-release v$VERSION
```
Check if the file has been updated correctly.
## Git Tag
Commit these changes to the "master" branch:
```
git commit -v -a -m "Release version $VERSION"
git push origin master
```
And tag it with a signed tag:
```
git tag -s -m "Version $VERSION" v$VERSION
```
Push the tag.
```
git push --tags
```
## GitHub Release
Create a new release for the newly created Git tag.
https://github.com/Icinga/icingaweb2-module-pnp/releases
|