Skip to content

Commit 3a6b8df

Browse files
committed
fix: travis CI build before-install
1 parent f711fb7 commit 3a6b8df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ node_js:
99
- '8'
1010
- '6'
1111
before_install:
12-
- if [ "$TRAVIS_BRANCH" == "master" ]; then echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc; fi
12+
- if [ "$TRAVIS_BRANCH" == "master" ]; then export _authToken=$NPM_TOKEN; fi
1313
after_success:
1414
- npm run semantic-release
1515
branches:

0 commit comments

Comments
 (0)