Skip to content

Commit

Permalink
ci(semantic-release): updated the script to the latest recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Jan 25, 2018
1 parent cee86b3 commit 0868baf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ branches:
- "/^v\\d+\\.\\d+\\.\\d+$/"
before_script: npm run greenkeeper:update-lockfile
after_script: npm run greenkeeper:upload-lockfile
after_success:
- npm run report-coverage
- npm run semantic-release
after_success: npm run report-coverage
before_deploy:
- npm run build-storybook
- git config --global user.name "$GIT_NAME"
Expand All @@ -18,6 +16,9 @@ deploy:
- skip_cleanup: true
provider: script
script: npm run deploy
- skip_cleanup: true
provider: script
script: npm run semantic-release
env:
global:
- secure: k/Sd6YpTUriT/d2+A/2BeSV11KtWwkokCtUR+oEOKybsUye6eYd0yLu6Dgg6rDXNq+QmTwKNMGRGGNNpta3dgij75Kb6vQtS3NquZem9fr8ECECiRYgqeqJnvjvyoF40K3LcYdnzsGKk/m3nqb8R1xGfkeazwPgkp3mx4HC6wfsbpZ0ylEZd4grl/1n1NOXWcxVhhPK/tYG4ThDfGHhBKnCpaVBZ2ZHw46D/1yf2/zD0zNCvsWVg8LVa+uhHxvngkFqd+g9CyLQXQHeo6qHO8++zfN3xAqvFD4up75R32u/ypOFxqA67X6ce59APzgA5X8UQBfR0SzkBWnsCDCqUvFdB+WrHV3goWn0qcJ0vmhfGpal8EQncP9/sw1klcLA3O+gWWCBmEgUwmzZYwNcCuhtvwRd/1DKvcKfm9jHYq95fpJjYQUt6jJ9lpAuK0BArJSzpBqvSZGtH5SThnHmL3stJSO+dbq/PeI24EisHEnkC7XzP3a0hrM1te6rrNqNeCzb61Z1QePApflwc+8ocPsnj4pE6qpDLa6W2pd92mAoX8q+kHmIDl46H534fVvgoSSIkGKZYpANYbLeenJxchVfYk6CZfkBzbjzJMzgq/2zVbZ9NslIv29YvcliGNedNzpMhAj6G56QznQniWeERqQ6s6i1h6VM4gPpsJyTepvQ=
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"prepublish": "run-s build",
"precommit": "npm test",
"commitmsg": "commitlint -e",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"semantic-release": "semantic-release",
"greenkeeper:update-lockfile": "greenkeeper-lockfile-update",
"greenkeeper:upload-lockfile": "greenkeeper-lockfile-upload"
},
Expand Down

0 comments on commit 0868baf

Please sign in to comment.