1 | files: [
|
2 | 'package.json'
|
3 | 'bower.json'
|
4 | ]
|
5 |
|
6 | plugins:
|
7 |
|
8 | prerelease:
|
9 |
|
10 | 'Linting config files':
|
11 | plugin: 'bumped-finepack'
|
12 |
|
13 | postrelease:
|
14 |
|
15 | 'Compiling browser version':
|
16 | plugin: 'bumped-terminal'
|
17 | command: 'gulp'
|
18 |
|
19 | 'Generating CHANGELOG file':
|
20 | plugin: 'bumped-changelog'
|
21 |
|
22 | 'Commiting new version':
|
23 | plugin: 'bumped-terminal'
|
24 | command: 'git add CHANGELOG.md bower.json package.json dist && git commit -m "Release $newVersion"'
|
25 |
|
26 | 'Detecting problem before publish':
|
27 | plugin: 'bumped-terminal'
|
28 | command: 'git-dirty'
|
29 |
|
30 | 'Publishing tag at GitHub':
|
31 | plugin: 'bumped-terminal'
|
32 | command: 'git tag $newVersion && git push && git push --tags'
|
33 |
|
34 | 'Publishing at NPM':
|
35 | plugin: 'bumped-terminal'
|
36 | command: 'npm publish'
|