- If you don't have a release notes draft, create one at https://github.com/guard/guard-minitest/releases/new (the version sould be set to
vX.Y.Z+1
for now). - Each time you merge a pull-request (or fix an issue, or simply push a change that should appear in the release note), update the release notes draft and keep the style consistent with previous release notes:
### Bug fix ("Bug fixes" if there are several bug fixes, see below...)
* #XXX, #YYY Title of the pull-request/issue or any meaningful text.
### New features
* #ZZZ Title of the pull-request/issue or any meaningful text.
* owe89wq There's no issue/PR attached to this new feature (bad!), but a commit is referenced on the left.
### Improvement
* as65dah This improvement has been done in the commit referenced on the left.
Note that there's no need to mention the author of each change since they can be retrieved either from the issue/PR or from the actual commit.
- Check that the specs pass.
- Look at the release notes draft and update its version accordingly:
- If there's new features, increment minor digit and reset patch digit, e.g.
vX.Y+1.0
. - If there's new features that break retro-compatibility, increment major digit and reset minor & patch digits, e.g.
vX+1.0.0
. - See SemVer when in doubts.
- If there's new features, increment minor digit and reset patch digit, e.g.
- Then, update the version of the gem accordingly too, in
lib/guard/minitest/version.rb
AND inspec/lib/guard/minitest/version_spec.rb
. - Commit
Bump to X.Y.Z
and push to GitHub. - Run the magic rake task:
bundle exec rake release:full
. This will push the gem to Rubygems, and publish the GitHub release notes! - Congratulate yourself and enjoy a fresh beer, you deserve it!