You'll need write access to the repository to create a release. Publishing is handled automatically via trusted publishing.
- On your release branch (e.g.
main,v2.x), edit CHANGELOG.md to finalize the new version number and list of all changes. - Bump version.rb to the version you picked in previous step.
- Final check: make sure all tests are green, and that
rake buildsucceeds. If not, merge any fixes back to the release branch and go to step 1. - Draft a new release on Github.
- In the "Choose a tag" field, type the version tag - e.g.
v2.12.1- and select "Create new tag on publish". - Use
v[version]for the release title, and copy the changelog into the release notes. - Click "Publish release". Github creates and pushes the tag, which triggers the release workflow.
- In the "Choose a tag" field, type the version tag - e.g.
- Publishing to RubyGems.org is fully automated. The Push gem workflow triggers on the published release and requires approval from a release manager via the
releaseenvironment before credentials are issued. Before approving: confirm that CI is green on the release commit. Approve the deployment in the Actions UI and the gem will be built and pushed automatically.
- Update
required_ruby_versionin savon.gemspec - Update the test matrix in ci.yml
- Update README with the correct support matrix
- Note the updated requirement in CHANGELOG.md