Before releasing, make sure sorbet and related gems are up to date:
bundle update sorbet sorbet-runtime sorbet-static tapioca --conservative
Check the Semantic Versioning page for info on how to version the new release: http://semver.org
Update the version of ShopifyAPI in lib/shopify_api/version.rb
Run bundle
Add a CHANGELOG entry for the new release
Commit the changes with a commit message like "Packaging for release X.Y.Z"
Tag the release with the version (Leave REV blank for HEAD or provide a SHA)
$ git tag vX.Y.Z REV
Push out the changes
$ git push
Push out the tags
$ git push --tags
Publish the gem using Shipit
Consider if the dependency in Shopify/shopify needs updated. It's used only by the tests so is a low risk change.
Also consider Shopify/shopify_app whose gemspec depends on this.
We don't need to do this for every release, but we should try to keep them relatively up to date.