How To Release
Prerequisites
Check Build Status
Make sure all builds and CI pipelines are green.
Create Releases
Naemon Core
Please make sure you have installed the required dependencies first. For Debian based systems this can be done like so:
apt-get install vim git build-essential make devscripts dialog oscCreate release commit:
shell%> NEW_VERSION=1.5.0 %> %> git clone https://github.com/naemon/naemon-core %> cd naemon-core %> git pull %> git checkout -b "release_v${NEW_VERSION}" %> ./autogen.sh %> make clean %> make version %> vim NEWS %> git commit -avs -m "release v${NEW_VERSION}" %> git push origin "release_v${NEW_VERSION}"Wait for pipeline actions on GitHub.
Then create release on naemon core releases.
Use
v1.x.xas tag name and title and the news entry as description.Update OSB Builds
shell%> # osc checkout "home:naemon" %> cd home:naemon/naemon-core %> osc up %> vim _service # replace version number %> osc commitWait for builds to complete on build.opensuse.org/home:naemon.
Naemon Livestatus
Create release commit:
shell%> # git clone https://github.com/naemon/naemon-livestatus %> cd naemon-livestatus %> git pull %> ./autogen.sh %> make clean %> make version %> git commit -avs -m "release v<VERSION>" %> git tag "v<VERSION>" %> git push %> git push --tagsWait for pipeline actions on GitHub.
Then create release on naemon livestatus releases.
Use the tag name as title and write a description from the git log.
Update OSB Builds
shell%> # osc checkout "home:naemon" %> cd home:naemon/naemon-livestatus %> osc up %> vim _service # replace version number %> osc commitWait for builds to complete on build.opensuse.org/home:naemon.
Naemon Vim Vault
Create release commit:
shell%> # git clone https://github.com/naemon/naemon-vimcrypt-vault-broker %> cd naemon-vimcrypt-vault-broker %> git pull %> ./autogen.sh %> make clean %> make version %> git commit -avs -m "release v<VERSION>" %> git tag "v<VERSION>" %> git push %> git push --tagsThen create release on naemon vimvault releases.
Use the tag name as title and the news entry as description.
Update OSB Builds
shell%> # osc checkout "home:naemon" %> cd home:naemon/naemon-vimvault %> osc up %> vim _service # replace version number %> osc commitWait for builds to complete on build.opensuse.org/home:naemon.
Naemon Meta Package
Create release commit:
shell%> # git clone https://github.com/naemon/naemon %> cd naemon %> git pull %> make clean %> make version %> git commit -avs -m "release v<VERSION>" %> git tag "v<VERSION>" %> git push %> git push --tagsWait for pipeline actions on GitHub.
Then create release on naemon releases.
Just use the auto-generate button.
Update OSB Builds
shell%> # osc checkout "home:naemon" %> cd home:naemon/naemon %> osc up %> vim _service # replace version number %> osc commitWait for builds to complete on build.opensuse.org/home:naemon.
naemon.io
Create release update:
shell%> # git clone github.com/naemon/naemon.github.io %> cd naemon.github.io %> git pull %> vim src/.env # adjust date and version %> vim src/download.md # double check available distributions %> vim src/documentation/usersguide/whatsnew.md # add changelog entry %> vim src/news/<date>-release-<v>.md # add news entry %> git commit -avs -m "release v<VERSION>" %> git push
Socialize
Communicate the release on various channels:
Other
If there had been API changes, 3rd party NEB modules have to be rebuild, ex.:
- mod-gearman neb module
- status engine