Before submitting a new release, make sure all relevant pull requests and local branches have been merged to the
main
branch. All tests must pass before a release is tagged.
If not installed, please install the PDK and do a 'bundle install'.
pdk bundle install
Or if already installed do an update.
pdk bundle update
Update the AUTHORS and .mailmap file
git checkout main
git log --use-mailmap | grep ^Author: | cut -f2- -d' ' | sort | uniq > AUTHORS
git commit -am "Update AUTHORS"
If it is not installed [puppet-strings]:
gem install puppet-strings --no-ri --no-rdoc
puppet strings generate --format markdown --out ./REFERENCE.md
Install github-changelog-generator
gem install github_changelog_generator
Generate CHANGELOG.md
github_changelog_generator -t <github-access-token> --future-release=v2.3.1 --project=puppet-icingaweb2 --user=icinga
Version numbers are incremented regarding the SemVer 1.0.0 specification.
Update the version number in metadata.json
.
Commit all changes to the main
branch
git commit -v -a -m "Release version <VERSION>"
git push
Tag the release
git tag -m "Version <VERSION>" v<VERSION>
Push tags
git push --tags
pdk build
Upload the tarball to Puppet Forge.