Skip to content

Commit 3ab8af1

Browse files
committed
Update docs about how to build a new release for Naemon Core
Signed-off-by: nook24 <info@nook24.eu>
1 parent d422b5f commit 3ab8af1

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

src/documentation/developer/releases.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,28 @@ Make sure all builds and CI pipelines are green.
1414

1515
### Naemon Core
1616

17+
Please make sure you have installed the required dependencies first. For Debian based
18+
systems this can be done like so:
19+
```bash
20+
apt-get install vim git build-essential make devscripts dialog osc
21+
```
22+
1723
1. Create release commit:
1824

1925
```shell
20-
%> # git clone https://github.com/naemon/naemon-core
26+
%> NEW_VERSION=1.5.0
27+
%>
28+
%> git clone https://github.com/naemon/naemon-core
2129
%> cd naemon-core
2230
%> git pull
31+
%> git checkout -b "release_v${NEW_VERSION}"
32+
%> ./autogen.sh
2333
%> make clean
2434
%> make version
2535
%> vim NEWS
26-
%> git commit -avs -m "release v<VERSION>"
27-
%> git tag "v<VERSION>"
28-
%> git push
36+
%> git commit -avs -m "release v${NEW_VERSION}"
37+
%> git tag "v${NEW_VERSION}"
38+
%> git push origin "release_v${NEW_VERSION}"
2939
%> git push --tags
3040
```
3141

0 commit comments

Comments
 (0)