-
Make sure there are no local branches named
bump
git branch -D bump
-
Ensure you have the following:
- RubyGems:
bump
github_changelog_generator
- Go:
aktau/github-release
- RubyGems:
- Clone the chef-influxdb repository:
$ git clone git@github.com:bdangit/chef-influxdb.git
- Make sure you are on the master branch and have the latest:
$ cd chef-influxdb
$ git checkout master
$ git pull origin master
- Inside the repo, create a new release:
$ cd chef-influxdb
$ git checkout -b <branch>
- Bump the version:
$ rake bump
note: It always does a
patch
bump. To do a minor/major bump, set environment variableBUMPLEVEL
to minor/major (ex.BUMPLEVEL=minor rake bump
- Generate a new
CHANGELOG.md
:
$ rake changelog
-
Commit the
CHANGELOG.md
andVERSION
changes and push your branch. -
Issue a new PR await approval.
-
Pull master once again once the PR is merged into master
-
Create & push a Git tag:
rake tag
git push origin --tags
- Publish to Supermarket:
rake publish