Skip to content

Commit

Permalink
fix: run semantic release correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Realtin committed May 8, 2018
1 parent 0ba723e commit d675ee5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -12,12 +12,11 @@ node_js:
before_install: npm i -g npm@5
before_script: node ./update.js
after_script: node ./upload.js
after_success: npm run semantic-release
after_success: npx semantic-release

# Trigger a push build on master and greenkeeper branches + PRs build on every branches
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
branches:
only:
- master
- /^greenkeeper.*$/

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -57,7 +57,6 @@
]
},
"scripts": {
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "NODE_ENV=testing standard && jest"
}
}

0 comments on commit d675ee5

Please sign in to comment.