bundle exec rake spec
- Update version number in
lib/turbot/version.rb
toX.Y.Z
- Bump the patch level
Z
if the release contains bugfixes that do not change functionality - Bump the minor level
Y
if the release contains new functionality or changes to existing functionality
- Bump the patch level
- Run
bundle install
to update the version of turbot in the Gemfile.lock - Update
CHANGELOG
- Commit the changes
git commit -m "vX.Y.Z" -a
- Push changes to master
git push origin master
- Ask @ddollar for:
- Permissions to Rubygems.org
- Access to the
toolbelt
Turbot app HEROKU_RELEASE_ACCESS
andHEROKU_RELEASE_SECRET
config var values (export values in terminal)- Access and permissions to run builds on http://dx-jenkins.herokai.com/
- Release the gem
bundle exec rake release
- Enter password for
sudo
during release - Confirm gem release at http://rubygems.org/gems/turbot/versions
- Enter password for
- Move to a checkout of the toolbelt repo and make sure everything is up to date
git pull
- If this is a new checkout, run
git submodule init
andgit submodule update
- If this is a new checkout, run
- Move to the components/turbot directory,
git fetch
andgit reset --hard HASH
where HASH is commit hash of vX.Y.Z - Move back to the root dir of the toolbelt repo, stage
git add .
, commitgit commit -m "bump turbot submodule to vX.Y.Z"
, and pushgit push
submodule changes - Start toolbelt-build build at http://dx-jenkins.herokai.com/ (this will be opened by rake release automatically)
- Create a new changelog
- Set the title to
Turbot CLI vX.Y.Z released with #{highlights}
- Set the description to:
A new version of the Turbot CLI is available with #{details}.
See the [CLI changelog](https://github.com/turbot/turbot/blob/master/CHANGELOG) for details and update by using `turbot update`.