Skip to content

Commit 8fb6632

Browse files
author
Ben Lavender
committed
add release instructions
1 parent 69fb05e commit 8fb6632

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,15 @@ Here are a few things you can do that will increase the likelihood of your pull
3131
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
3232
- [Using Pull Requests](https://help.github.com/articles/about-pull-requests/)
3333
- [GitHub Help](https://help.github.com)
34+
35+
## Releasing
36+
37+
If you are the current maintainer of this gem:
38+
39+
* Create a branch for the release: `git checkout -b cut-release-vxx.xx.xx`
40+
* Ensure that tests are green: `script/test`
41+
* Bump gem version in `lib/chatops/controller/version.rb`
42+
* Make a PR to github/chatops-controller and merge it
43+
* Build a local gem: `gem build chatops-controller.gemspec`
44+
* Tag and push: `git tag vx.xx.xx; git push --tags`
45+
* Push to rubygems.org -- `gem push chatops-controller-x.x.x.gem`

0 commit comments

Comments
 (0)