This release process applies to all Test Kitchen projects, but each project may have additional requirements.
- Perform a GitHub diff between master and the last released version. Determine whether included PRs justify a patch, minor or major version release.
- Check out the master branch of the project being prepared for release.
- Branch into a release-branch of the form
150_release_prep
. - Modify the
version.rb
file to specify the version for releasing. - Run
rake changelog
to regenerate the changelog. git commit
theversion.rb
andCHANGELOG.md
changes to the branch and setup a PR for them. Allow the PR to run any automated tests and review the CHANGELOG for accuracy.- Merge the PR to master after review.
- Switch your local copy to the master branch and
git pull
to pull in the release preparation changes. - Run
rake release
on the master branch. - Modify the
version.rb
file and bump the patch or minor version, and commit/push.