Skip to content

Latest commit

 

History

History
65 lines (50 loc) · 1.18 KB

RELEASE.md

File metadata and controls

65 lines (50 loc) · 1.18 KB

Release Instructions

Pre-requisites

  • 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

Steps

  1. Clone the chef-influxdb repository:
$ git clone [email protected]:bdangit/chef-influxdb.git
  1. Make sure you are on the master branch and have the latest:
$ cd chef-influxdb
$ git checkout master
$ git pull origin master
  1. Inside the repo, create a new release:
$ cd chef-influxdb
$ git checkout -b <branch>
  1. Bump the version:
$ rake bump

note: It always does a patch bump. To do a minor/major bump, set environment variable BUMPLEVEL to minor/major (ex. BUMPLEVEL=minor rake bump

  1. Generate a new CHANGELOG.md:
$ rake changelog
  1. Commit the CHANGELOG.md and VERSION changes and push your branch.

  2. Issue a new PR await approval.

  3. Pull master once again once the PR is merged into master

  4. Create & push a Git tag:

rake tag
git push origin --tags
  1. Publish to Supermarket:
rake publish