bundle exec rake spec
- Update version number in
lib/turbot/version.rbtoX.Y.Z- Bump the patch level
Zif the release contains bugfixes that do not change functionality - Bump the minor level
Yif the release contains new functionality or changes to existing functionality
- Bump the patch level
- Run
bundle installto 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
toolbeltTurbot app HEROKU_RELEASE_ACCESSandHEROKU_RELEASE_SECRETconfig 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
sudoduring 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 initandgit submodule update
- If this is a new checkout, run
- Move to the components/turbot directory,
git fetchandgit reset --hard HASHwhere 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 pushsubmodule 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`.