Follow these steps to release a new version of bootstrap_form to rubygems.org.
- You must have commit rights to the bootstrap_form repository.
- You must have push rights for the bootstrap_form gem on rubygems.org.
- You must be using a Ruby version that is not end-of-life.
- Run
BUNDLE_GEMFILE=gemfiles/7.0.gemfile bundle updateto make sure that you have all the gems necessary for testing and releasing. - Ensure the tests are passing by running
BUNDLE_GEMFILE=gemfiles/7.0.gemfile bundle update. (Currently this step shows a lot of warnings about method redefinitions, but otherwise everything must be green before release.) - Determine which would be the correct next version number according to semver.
- Update the version in
./lib/bootstrap_form/version.rb. - Update the GitHub diff links at the beginning of
CHANGELOG.md(The pattern should be obvious when you look at them). - Update the installation instructions in
README.mdto use the new version. - Commit the CHANGELOG and version changes in a single commit; the message should be "Preparing vX.Y.Z" where
X.Y.Zis the version being released. - Run
bundle exec rake release; this will tag, push to GitHub, and publish to rubygems.org.