Skip to content

Commit

Permalink
Remove pilot zero of VERSION.
Browse files Browse the repository at this point in the history
Signed-off-by: LiZhenCheng9527 <[email protected]>
  • Loading branch information
LiZhenCheng9527 committed Feb 26, 2024
1 parent d5307c8 commit 4d2ca24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hack/e2e-test/install-kurator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ KUBECONFIG_PATH=${KUBECONFIG_PATH:-"${HOME}/.kube"}
MAIN_KUBECONFIG=${MAIN_KUBECONFIG:-"${KUBECONFIG_PATH}/kurator-host.config"}
export KUBECONFIG=${MAIN_KUBECONFIG}
COMMIT_ID=$(git rev-parse --short HEAD)
VERSION=$(echo "$COMMIT_ID" | sed 's/[^0-9]//g')
VERSION=$(echo "$COMMIT_ID" | sed 's/[^0-9]//g')
# Remove pilot zero of VERSION.
VERSION=$(echo "$VERSION" | sed 's/^0*//')

helm repo add jetstack https://charts.jetstack.io
helm repo update
Expand Down

0 comments on commit 4d2ca24

Please sign in to comment.