Skip to content

Commit ddd992b

Browse files
committed
Add mversion support
1 parent 761319d commit ddd992b

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.mversionrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"commitMessage": "%s",
3+
"tagName": "v%s"
4+
}

README.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ If you want to use this plugin with a Slack adapter, you also need to install
5454

5555
```bash
5656
npm install hubot-slack
57-
````
57+
```
5858

5959
After that's done, you are ready to start your bot.
6060

@@ -125,9 +125,20 @@ gulp lint
125125
### Tests
126126

127127
```bash
128-
gulp tests
128+
gulp test
129129
```
130130

131+
## Publishing
132+
133+
Reminder to ourselves, instead of bumping the version manually, use `mverson`.
134+
135+
```
136+
npm install -g mversion
137+
mversion patch
138+
```
139+
140+
This will bump the version in `package.json`, commit and create a tag with format described in `.mversionrc`.
141+
131142
## Copyright, License, and Contributors Agreement
132143

133144
Copyright 2015 StackStorm, Inc.

0 commit comments

Comments
 (0)