forked from sayanee/angularjs-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bumpedrc
34 lines (34 loc) · 1.07 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
files:
- package.json
- bower.json
plugins:
prerelease:
Linting config files:
plugin: bumped-finepack
Detecting problems before release:
plugin: bumped-terminal
command: 'npm run test'
postrelease:
Build new Release:
plugin: bumped-terminal
command: 'npm run clean && npm run build && npm run build-min'
Generating CHANGELOG file:
plugin: bumped-changelog
Commiting new version:
plugin: bumped-terminal
command: 'git add CHANGELOG.md package.json bower.json dist/ && git commit -m "Release $newVersion"'
Publishing tag to GitHub:
plugin: bumped-terminal
command: 'git tag $newVersion && git push && git push --tags'
Prepare gh-pages:
plugin: bumped-terminal
command: 'cp -r example ghpages && cp dist/angular-pdf.min.js* ghpages'
Update gh-pages:
plugin: 'bumped-gh-pages'
folder: 'ghpages'
Clean gh-pages temporary folder:
plugin: bumped-terminal
command: 'rm -rf ghpages'
Publishing to NPM:
plugin: bumped-terminal
command: npm publish