Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 977 Bytes

DEPLOYMENT.md

File metadata and controls

38 lines (31 loc) · 977 Bytes
# Install gems for exec commands
bundle install

# Run all tests
MODE=full bundle exec rake all

# Create a release branch
git checkout master
git pull
git checkout -b release-X.X.X

# Update the version number
bundle exec gem bump --version x.y.z

# Generate the changelog
github_changelog_generator -t $GITHUB_READ_TOKEN
# Review the changelog
# Remove "unreleased" section
# Make sure the tags are ordered

# Commit, push, and create a PR for this release
git commit -am "Release vX.X.X"
git push --set-upstream origin release-X.X.X
# Add related milestone
# Create PR on GitHub and assign for review
# Merge/rebase and delete branch once approved

# Create and add a tag
git checkout master
git pull
bundle exec gem tag
# Create a new release from this tag on GitHub using markdown from the changelog

# Make sure you are an author for this gem here https://rubygems.org/gems/auth0/
# Rubygems token can be updated in ~/.gem/credentials
bundle exec gem release