Make sure you have access in https://rubygems.org/gems/auth0/ and that your Ruby Gems tokens are set in ~/.gem/credentials.
# Install gems
bundle install
# Run all tests
bundle exec rake test
# Create a release branch
git checkout main
git pull
git checkout -b release-X.X.X
git push --set-upstream origin release-X.X.X
# Update the version number in lib/auth0/version.rb
# Commit the version bump
git commit -am "Bump version to X.X.X"
# Make sure the Gemfile.lock is up-to-date
bundle update
git commit -am "Update gems"
# Commit, push, and create a PR for this release
git push
# Create PR on GitHub and assign for review
# Merge and delete branch once approved
# Create and add a tag
git checkout main
git pull
git tag vX.X.X
git push origin vX.X.X
# Create a new release from this tag on GitHub
# Publish to RubyGems
# Make sure you are an author for this gem: https://rubygems.org/gems/auth0/
gem build auth0.gemspec
gem push auth0-X.X.X.gem- The Management API client is generated by Fern. Run
fern generateto update it. After regeneration, check for new management resource accessors and updatelib/auth0/auth_client.rbaccordingly. - Files listed in
.fernignoreare not overwritten by Fern regeneration.