Skip to content

Latest commit

 

History

History
84 lines (53 loc) · 1.7 KB

RELEASE.md

File metadata and controls

84 lines (53 loc) · 1.7 KB

Release Workflow

Print this document.

Specify the release version.

VERSION=1.2.1

Issues

Check issues at https://github.com/NETWAYS/icingaweb2-module-grafana/milestones

Version

Update the version number in the following file:

Example:

sed -i "s/Version: .*/Version: $VERSION/g" module.info

Changelog

Ensure to have github_changelog_generator installed and set the GitHub token to avoid rate limiting.

github_changelog_generator -u netways -p icingaweb2-module-grafana --future-release=$VERSION

Git Tag

Commit these changes to the "main" branch:

$ git commit -v -a -m "Release version $VERSION"

Create a signed tag (tags/v) on the "main" branch.

$ git tag -m "Version $VERSION" v$VERSION

Push the tag.

$ git push --tags

External Dependencies

Release Tests

  • Provision the vagrant boxes and pull the main in /usr/share/icingaweb2/modules/grafana

Example:

$ git clone https://github.com/Icinga/icinga-vagrant.git
$ cd icinga-vagrant/influxdb
$ vagrant up
$ vagrant ssh -c "cd /usr/share/icingaweb2/modules/grafana && sudo git pull"

GitHub Release

Create a new release for the newly created Git tag. https://github.com/NETWAYS/icingaweb2-module-grafana/releases

Note: A new GitHub release will be synced by Icinga Exchange automatically.

Announcement

After the release