Skip to content

Commit 6e6527f

Browse files
committed
setup automate releasing
1 parent d97c8d7 commit 6e6527f

File tree

4 files changed

+1561
-17
lines changed

4 files changed

+1561
-17
lines changed

.bumpedrc

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
files: [
2+
'package.json',
3+
'bower.json'
4+
]
5+
6+
plugins:
7+
8+
postrelease:
9+
10+
'Compiling browser version':
11+
plugin: 'bumped-terminal'
12+
command: 'npm run build'
13+
14+
'Update changelog':
15+
plugin: 'bumped-terminal'
16+
command: 'npm run changelog'
17+
18+
'Commiting new version':
19+
plugin: 'bumped-terminal'
20+
command: 'git commit -am "$newVersion releases" && git push origin master'
21+
22+
'Publishing tag at GitHub':
23+
plugin: 'bumped-terminal'
24+
command: 'git tag v$newVersion && git push origin v$newVersion'

.travis.yml

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
language: node_js
2-
#cache:
3-
# directories:
4-
# - node_modules
2+
cache:
3+
directories:
4+
- node_modules
55
node_js:
6-
- "7"
6+
- "9"
7+
- "8"
78
- "6"
89
after_success:
910
- npm run coverall
11+
12+
deploy:
13+
provider: npm
14+
email: $NPM_EMAIL
15+
api_key: $NPM_API_KEY
16+
skip_cleanup: true
17+
on:
18+
tags: true
19+
node: "8"

0 commit comments

Comments
 (0)