Skip to content

Commit

Permalink
housekeeping: fail React flavor release if a step fails (via #5466)
Browse files Browse the repository at this point in the history
* housekeeping: fail React flavor release if a step fails

* Update run.sh
shockey authored Jul 13, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 60397d6 commit 47b992f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flavors/swagger-ui-react/release/run.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 47b992f

Please sign in to comment.