Skip to content

Commit b289d59

Browse files
committed
MOAR deploy fixes
1 parent 5573f4d commit b289d59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swagger-ui-dist-package/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ cd "${0%/*}"
77
UI_VERSION=$(node -p "require('../package.json').version")
88

99
# Replace our version placeholder with UI's version
10-
sed -i '' "s|\$\$VERSION|$UI_VERSION|g" package.json
10+
sed -i "s|\$\$VERSION|$UI_VERSION|g" package.json
1111

1212
# Copy UI's dist files to our directory
1313
cp ../dist/* .
1414

15-
if [ $PUBLISH_DIST -eq "true" ] || [ $TRAVIS -eq "true" ] ; then
15+
if [ "$PUBLISH_DIST" = "true" ] || [ "$TRAVIS" = "true" ] ; then
1616
npm publish .
1717
else
1818
npm pack .

0 commit comments

Comments
 (0)