When it comes time to release a new version of the Nesta gem, these are the steps:
-
Check the versions of Ruby used in
.github/workflows
are up to date. If new Ruby versions need testing, update the config and re-run the build. -
Bump the version number in
lib/nesta/version.rb
. This will cause the version number inGemfile.lock
to be updated too, so regenerate it now (e.g. runbundle install
) and check them in together. -
Update the
CHANGLOG.md
file with a summary of significant changes since the previous release. -
Commit these changes with a commit message of 'Bump version to '
-
Install the gem locally (
rake install
), then generate a new site with thenesta
command. Install the demo content site, check that it runs okay locally. -
If everything seems fine, run
rake release
. -
Publish an announcement blog post and email the list.