Skip to content

Commit dd96c25

Browse files
committed
Try using defined.
1 parent e34f6b1 commit dd96c25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ script:
5050
- npm test
5151

5252
after_success:
53-
- if [ $TRAVIS_TAG != "" ]; then npm run prebuild -- -u $GITHUB_TOKEN; fi
53+
- if [[ $TRAVIS_TAG != "" ]]; then npm run prebuild -- -u $GITHUB_TOKEN; fi
5454

5555
notifications:
5656
webhooks:

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test_script:
3232
- npm test
3333

3434
on_success:
35-
- IF "%APPVEYOR_REPO_TAG%" NEQ "" npm run prebuild -- -u %GITHUB_TOKEN%
35+
- IF defined "%APPVEYOR_REPO_TAG%" npm run prebuild -- -u %GITHUB_TOKEN%
3636

3737
build: off
3838
version: "{build}"

0 commit comments

Comments
 (0)