Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 42c07b8

Browse files
committed
Switch build-js.sh env vars to Travis.
1 parent 5c33981 commit 42c07b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-js.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ npm run test
1717
popd >/dev/null
1818

1919
pushd ts >/dev/null
20-
if [[ "${APPVEYOR_REPO_BRANCH}" == "master" ]] && [[ -z "${APPVEYOR_PULL_REQUEST_NUMBER}" ]]
20+
if [[ "${TRAVIS_BRANCH}" == "master" ]] && [[ "${TRAVIS_PULL_REQUEST}" == "false" ]]
2121
then
2222
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
2323
npm publish || true

0 commit comments

Comments
 (0)