collection of ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1.1 KiB

Release Workflow

Before submitting a new release, make sure all relevant pull requests and local branches have been merged to the master branch. All tests must pass before a release is tagged.

Testing

Make sure tests pass before starting with a release. See TESTING.md for more information.

1. AUTHORS

Update the AUTHORS and .mailmap file

git checkout master
git log --use-mailmap | grep ^Author: | cut -f2- -d' ' | sort | uniq > AUTHORS
git commit -am "Update AUTHORS"

2. Changelog

Install github-changelog-generator

gem install github_changelog_generator

Generate CHANGELOG.md

github_changelog_generator -t <github-access-token> --future-release=v1.0.0

3. Git Tag

Commit all changes to the master 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

Ansible Galaxy

The role is uploaded automatically to Ansible Galaxy.