Browse Source

housekeeping: fail React flavor release if a step fails (via #5466)

* housekeeping: fail React flavor release if a step fails

* Update run.sh
bubble
kyle 5 years ago
committed by GitHub
parent
commit
47b992f51c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      flavors/swagger-ui-react/release/run.sh

+ 4
- 1
flavors/swagger-ui-react/release/run.sh View File

@@ -1,9 +1,12 @@
# Deploy `swagger-ui-react` to npm.

# https://www.peterbe.com/plog/set-ex
set -ex

# Parameter Expansion: http://stackoverflow.com/questions/6393551/what-is-the-meaning-of-0-in-a-bash-script
cd "${0%/*}"

mkdir ../dist
mkdir -p ../dist

# Copy UI's dist files to our directory
cp ../../../dist/swagger-ui.js ../dist


Loading…
Cancel
Save