Ver código fonte
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 anos atrás
committed by
GitHub
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com
4 adições e
1 exclusões
-
flavors/swagger-ui-react/release/run.sh
|
|
@@ -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 |
|
|
|