Fix shell script error

This commit is contained in:
Kyle Shockey
2017-04-21 20:04:57 -07:00
parent a600280441
commit d6c498b5f3

View File

@@ -12,7 +12,7 @@ sed -i '' "s|\$\$VERSION|$UI_VERSION|g" package.json
# Copy UI's dist files to our directory
cp ../dist/* .
if [[ $PUBLISH_DIST = "true" || $TRAVIS = "true" ]]; then
if [ $PUBLISH_DIST -eq "true" ] || [ $TRAVIS -eq "true" ] ; then
npm publish .
else
npm pack .