Skip to content

Commit 368195f

Browse files
committed
fix $TRAVIS_TAG check for latest/ symlink
1 parent 86fc1f8 commit 368195f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsdoc/publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if [ "$TRAVIS_REPO_SLUG" == "watson-developer-cloud/node-sdk" ] && [ "$TRAVIS_PU
2121

2222
# update the latest/ symlink
2323
# on tagged builds, $TRAVIS_TAG is set to the tag, but it's blank on regular builds, unlike $TRAVIS_BRANCH
24-
if ["$TRAVIS_TAG" != ""]; then
24+
if [ $TRAVIS_TAG ]; then
2525
rm latest
2626
ln -s $TRAVIS_TAG latest
2727
fi

0 commit comments

Comments
 (0)