Skip to content

Commit

Permalink
build(travis): dont release on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iamstarkov committed Aug 2, 2017
1 parent 9e52387 commit 881e7b6
Show file tree
Hide file tree
Showing 2 changed files with 5,320 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -12,9 +12,9 @@ branches:
jobs:
include:
- stage: release
before_script: echo "hello"
script:
- if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then echo "no releases for pull-requests; fi"
- if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then exit 0; fi;
- git config --global user.email "nordnet-release@localhost"
- git config --global user.name "nordnet-release"
- TRAVIS_JOB_NUMBER=WORKAROUND.1 npm run semantic-release
- if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then npm install; fi
- if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then TRAVIS_JOB_NUMBER=WORKAROUND.1 npm run semantic-release; fi

0 comments on commit 881e7b6

Please sign in to comment.