mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-06 05:14:29 +02:00
RELEASE.md: update branch workflow for packaging repos
This commit is contained in:
parent
ff5385bbb5
commit
ef2da99104
14
RELEASE.md
14
RELEASE.md
@ -127,27 +127,27 @@ git clone git@git.icinga.com:packaging/windows-icinga2.git && cd windows-icinga2
|
|||||||
|
|
||||||
### Branch Workflow
|
### Branch Workflow
|
||||||
|
|
||||||
Checkout `master` and create a new branch.
|
For each support branch in this repo (e.g. support/2.12), there exists a corresponding branch in the packaging repos
|
||||||
|
(e.g. 2.12). Each package revision is a tagged commit on these branches. When doing a major release, create the new
|
||||||
* For releases use x.x[.x] as branch name (e.g. 2.11 or 2.11.1)
|
branch, otherweise switch to the existing one.
|
||||||
* For releases with revision use x.x.x-n (e.g. 2.11.0-2)
|
|
||||||
|
|
||||||
|
|
||||||
### Switch Build Type
|
### Switch Build Type
|
||||||
|
|
||||||
Edit file `.gitlab-ci.yml` and comment variable `ICINGA_BUILD_TYPE` out.
|
Ensure that `ICINGA_BUILD_TYPE` is set to `release` in `.gitlab-ci.yml`. This should only be necessary after creating a
|
||||||
|
new branch.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
variables:
|
variables:
|
||||||
...
|
...
|
||||||
#ICINGA_BUILD_TYPE: snapshot
|
ICINGA_BUILD_TYPE: release
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
Commit the change.
|
Commit the change.
|
||||||
|
|
||||||
```
|
```
|
||||||
git commit -av -m "Switch build type for $VERSION-1"
|
git commit -av -m "Switch build type for 2.13"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### RPM Release Preparations
|
#### RPM Release Preparations
|
||||||
|
Loading…
x
Reference in New Issue
Block a user