-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bumpedrc
41 lines (33 loc) · 1.01 KB
/
.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
39
40
41
files: [
"package.json"
]
plugins:
prerelease:
'Lint config files':
plugin: 'bumped-finepack'
'Linting and running tests':
plugin: 'bumped-terminal'
command: 'npm test'
'Preparing examples':
plugin: 'bumped-terminal'
command: 'npm run build:examples'
'Preparing build':
plugin: 'bumped-terminal'
command: 'npm run prepublish'
postrelease:
'Generating CHANGELOG file':
plugin: 'bumped-changelog'
options:
preset: 'angular'
'Commiting new version':
plugin: 'bumped-terminal'
command: 'git add CHANGELOG.md package.json examples/build && git commit -m "chore(release): released v$newVersion"'
'Detecting problem before publish':
plugin: 'bumped-terminal'
command: 'git-dirty'
'Publishing tag at Github':
plugin: 'bumped-terminal'
command: 'git tag v$newVersion && git push origin master && git push --tags'
'Publishing at NPM':
plugin: 'bumped-terminal'
command: 'npm publish'