diff --git a/shell/package.json b/shell/package.json index 0661047e92..a7aca5a497 100644 --- a/shell/package.json +++ b/shell/package.json @@ -1,6 +1,6 @@ { "name": "@rancher/shell", - "version": "2.0.2-rc.1", + "version": "2.0.2-rc.2", "description": "Rancher Dashboard Shell", "repository": "https://github.com/rancherlabs/dashboard", "license": "Apache-2.0", diff --git a/shell/scripts/publish-shell.sh b/shell/scripts/publish-shell.sh index 0cf6b8eef1..40a6edd809 100755 --- a/shell/scripts/publish-shell.sh +++ b/shell/scripts/publish-shell.sh @@ -1,10 +1,9 @@ #!/usr/bin/env bash +set -eo pipefail + SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" -BASE_DIR="$( - cd $SCRIPT_DIR && cd ../.. & - pwd -)" +BASE_DIR="$(cd $SCRIPT_DIR && cd ../.. && pwd)" SHELL_DIR=$BASE_DIR/shell/ CREATORS_DIR=$BASE_DIR/creators/extension FORCE_PUBLISH_TO_NPM="false" diff --git a/shell/scripts/typegen.sh b/shell/scripts/typegen.sh index fc0e2ad9d2..531491ad85 100755 --- a/shell/scripts/typegen.sh +++ b/shell/scripts/typegen.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" -BASE_DIR="$( cd $SCRIPT_DIR && cd ../.. & pwd)" +BASE_DIR="$(cd $SCRIPT_DIR && cd ../.. && pwd)" SHELL_DIR=$BASE_DIR/shell echo "Generating typescript definitions"