We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5573f4d commit b289d59Copy full SHA for b289d59
swagger-ui-dist-package/deploy.sh
@@ -7,12 +7,12 @@ cd "${0%/*}"
7
UI_VERSION=$(node -p "require('../package.json').version")
8
9
# Replace our version placeholder with UI's version
10
-sed -i '' "s|\$\$VERSION|$UI_VERSION|g" package.json
+sed -i "s|\$\$VERSION|$UI_VERSION|g" package.json
11
12
# Copy UI's dist files to our directory
13
cp ../dist/* .
14
15
-if [ $PUBLISH_DIST -eq "true" ] || [ $TRAVIS -eq "true" ] ; then
+if [ "$PUBLISH_DIST" = "true" ] || [ "$TRAVIS" = "true" ] ; then
16
npm publish .
17
else
18
npm pack .
0 commit comments