git switch -c release-x.y.z
Edit Rakefile and set future version.
bundle config set --local path vendor/bundle
bundle config set --local with 'release'
bundle install
CHANGELOG_GITHUB_TOKEN="token_MC_token-face" bundle exec rake changelog
git add -A
git commit -m 'Release X.Y.Z'
git push origin releae-x.y.z
git switch master
git pull
git tag $version
git push --tags