Skip to content

Commit

Permalink
switch from corp-semantic-release to regular semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
iamstarkov committed Nov 11, 2017
1 parent 0cf4d4a commit a009092
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ language: node_js
node_js:
- 8
script: echo "nothing to see here, move along"
deploy:
provider: script
script: ./deploy.sh
skip_cleanup: true
on:
branch: master
after_script:
- git config --global user.email "nordnet-release@localhost"
- git config --global user.name "nordnet-release"
- if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then TRAVIS_JOB_NUMBER=WORKAROUND.1 npm run semantic-release; fi

# blocklist version commits
branches:
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/nordnet/cz-conventional-changelog.git"
},
"scripts": {
"release": "corp-semantic-release --changelogpreset angular-bitbucket -v"
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"publishConfig": {
"access": "public"
Expand All @@ -25,7 +25,6 @@
"word-wrap": "^1.0.3"
},
"devDependencies": {
"conventional-changelog-angular-bitbucket": "^1.1.2",
"corp-semantic-release": "^6.4.0"
"semantic-release": "^6.3.6"
}
}

0 comments on commit a009092

Please sign in to comment.