]> granicus.if.org Git - icinga2/blob - RELEASE.md
Move release info in INSTALL.md into a separate file
[icinga2] / RELEASE.md
1 # Release Workflow
2
3 Here's a short check-list for releases:
4
5 Update the [.mailmap](.mailmap) and [AUTHORS](AUTHORS) files:
6
7     $ git log --use-mailmap | grep ^Author: | cut -f2- -d' ' | sort | uniq > AUTHORS
8
9 Update the version number in the icinga2.spec file.
10
11 Update the [ChangeLog](ChangeLog), [doc/1-about.md](doc/1-about.md) files using
12 the changelog.py script.
13
14 Commit these changes to the "master" branch:
15
16     $ git commit -v -a -m "Release version <VERSION>"
17
18 For minor releases: Cherry-pick this commit into the "support" branch.
19
20 Create a signed tag (tags/v<VERSION>) on the "master" branch (for major
21 releases) or the "support" branch (for minor releases).
22
23 GB:
24
25     $ git tag -u EE8E0720 -m "Version <VERSION>" v<VERSION>
26
27 MF:
28
29     $ git tag -u D14A1F16 -m "Version <VERSION>" v<VERSION>
30
31 Push the tag.
32
33     $ git push --tags
34
35 For major releases: Create a new "support" branch:
36
37     $ git checkout master
38     $ git checkout -b support/2.x
39     $ git push -u origin support/2.x
40