This release process applies to all Cinc Project Test Kitchen plugins, but each project may have additional requirements.
- Perform a diff between main and the last released version. Determine whether included MRs justify a patch, minor or major version release.
- Check out the main branch of the project being prepared for release.
- Branch into a release-branch of the form
150_release_prep. - Modify the
cinc_version.rbfile to specify the version for releasing. - Run
rake changelogto regenerate the changelog. git committhecinc_version.rbandCHANGELOG.mdchanges to the branch and setup an MR for them. Allow the MR to run any automated tests and review the CHANGELOG for accuracy.- Merge the MR to main after review.
- Switch your local copy to the main branch and
git pullto pull in the release preparation changes. - Run
rake releaseon the main branch. - Modify the
cinc_version.rbfile and bump the patch or minor version, and commit/push.