From af3084f46baa9f878887a6f096fb8eeff2dc3147 Mon Sep 17 00:00:00 2001 From: AnieeG Date: Tue, 12 Sep 2023 15:26:41 -0700 Subject: [PATCH] updates --- operator_ui/TAG | 2 +- operator_ui/install.sh | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/operator_ui/TAG b/operator_ui/TAG index e75a8c12a5..b6ab818cb5 100644 --- a/operator_ui/TAG +++ b/operator_ui/TAG @@ -1 +1 @@ -v0.8.0-91e5ba4 +v0.8.0-95ae9da diff --git a/operator_ui/install.sh b/operator_ui/install.sh index 1342f6d1be..0de72d51f4 100755 --- a/operator_ui/install.sh +++ b/operator_ui/install.sh @@ -4,13 +4,9 @@ set -e owner=smartcontractkit repo=operator-ui fullRepo=${owner}/${repo} - -ccipPath=$GOPATH/pkg/mod/github.com/smartcontractkit/ccip -ccipV2=$(ls -1 $ccipPath | grep v2 | tail -n 1) - gitRoot=$(git rev-parse --show-toplevel || pwd) cd "$gitRoot/operator_ui" -unpack_dir="$ccipPath/$ccipV2/core/web/assets" +unpack_dir="$gitRoot/core/web/assets" tag=$(cat TAG) # Remove the version prefix "v" strippedTag="${tag:1}" @@ -51,14 +47,6 @@ tar -xvzf "$asset_name" msg "" msg "Removing old contents of $unpack_dir" rm -rf "$unpack_dir" - -if [ ! -d "$unpack_dir" ] -then -echo "$unpack_dir folder path not present, creating $ccipPath/$ccipV2/core/web" -chmod u+rwx $ccipPath/$ccipV2/core/web -mkdir -p $unpack_dir -fi - msg "Copying contents of package/artifacts to $unpack_dir" cp -rf package/artifacts/. "$unpack_dir" || true