Skip to content

Commit

Permalink
setup automate releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Mar 9, 2018
1 parent d97c8d7 commit 6e6527f
Show file tree
Hide file tree
Showing 4 changed files with 1,561 additions and 17 deletions.
24 changes: 24 additions & 0 deletions .bumpedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
files: [
'package.json',
'bower.json'
]

plugins:

postrelease:

'Compiling browser version':
plugin: 'bumped-terminal'
command: 'npm run build'

'Update changelog':
plugin: 'bumped-terminal'
command: 'npm run changelog'

'Commiting new version':
plugin: 'bumped-terminal'
command: 'git commit -am "$newVersion releases" && git push origin master'

'Publishing tag at GitHub':
plugin: 'bumped-terminal'
command: 'git tag v$newVersion && git push origin v$newVersion'
18 changes: 14 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
language: node_js
#cache:
# directories:
# - node_modules
cache:
directories:
- node_modules
node_js:
- "7"
- "9"
- "8"
- "6"
after_success:
- npm run coverall

deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_API_KEY
skip_cleanup: true
on:
tags: true
node: "8"
Loading

0 comments on commit 6e6527f

Please sign in to comment.