forked from react-toolbox/react-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.bumpedrc
38 lines (28 loc) · 901 Bytes
/
.bumpedrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
files: [
'package.json'
]
plugins:
prerelease:
'Linting config files':
plugin: 'bumped-finepack'
'Linting projects files':
plugin: 'bumped-terminal'
command: 'npm run lint'
'Preparing build':
plugin: 'bumped-terminal'
command: 'npm run prepublish'
'Generating CHANGELOG file':
plugin: 'bumped-changelog'
postrelease:
'Commiting new version':
plugin: 'bumped-terminal'
command: 'git add CHANGELOG.md package.json && git commit CHANGELOG.md package.json -m "Release $newVersion"'
'Detecting problem before publish':
plugin: 'bumped-terminal'
command: 'git-dirty'
'Publishing tag at Github':
plugin: 'bumped-terminal'
command: 'git tag $newVersion && git push origin dev && git push --tags origin dev'
'Publishing at NPM':
plugin: 'bumped-terminal'
command: 'npm publish'