Skip to content

Commit

Permalink
Move prepublish into bumped step
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 13, 2016
1 parent cd34ec8 commit eefa46a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .bumpedrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ plugins:
plugin: 'bumped-terminal'
command: 'npm run commit'

'Detecting problem before publish':
plugin: 'bumped-terminal'
command: 'npm run dirty && npm run clean && npm install && npm test'

'Publishing tag at Github':
plugin: 'bumped-terminal'
command: 'npm run push'
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"dirty": "./node_modules/.bin/git-dirty",
"commit": "git add CHANGELOG.md bower.json package.json dist && git commit -m \"$newVersion releases\"",
"lint": "./node_modules/.bin/standard lib",
"prepublish": "npm run dirty && npm run clean && npm install && npm test",
"pretest": "npm run lint",
"push": "git tag $newVersion && git push origin $newVersion --follow-tags",
"test": "sh test/test.sh"
Expand Down

0 comments on commit eefa46a

Please sign in to comment.