diff --git a/shell/package.json b/shell/package.json index f2c4478d9c4..365573a2c2d 100644 --- a/shell/package.json +++ b/shell/package.json @@ -1,6 +1,6 @@ { "name": "@rancher/shell", - "version": "3.0.0-rc.4", + "version": "3.0.0-rc.5", "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 e2ce2841ebb..e0e11671951 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 PUBLISH_ARGS="--no-git-tag-version --access public --registry $NPM_REGISTRY $NPM_TAG" diff --git a/shell/scripts/typegen.sh b/shell/scripts/typegen.sh index fc0e2ad9d26..531491ad85e 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"