From 9c064f9cf49dce0e439cbc99ed77db970d12abec Mon Sep 17 00:00:00 2001 From: Sourik Ghosh Date: Wed, 9 Mar 2022 00:04:11 +0530 Subject: [PATCH] only apply overwrite if version is canary Signed-off-by: Sourik Ghosh --- .circleci/deploy.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/deploy.sh b/.circleci/deploy.sh index dc9912885..d67e1217e 100755 --- a/.circleci/deploy.sh +++ b/.circleci/deploy.sh @@ -46,4 +46,8 @@ make build-cross make dist checksum VERSION="${VERSION}" echo "Pushing binaries to Azure" +if [[ "${VERSION}" == "canary" ]]; then az storage blob upload-batch -s _dist/ -d "$AZURE_STORAGE_CONTAINER_NAME" --pattern 'helm-*' --connection-string "$AZURE_STORAGE_CONNECTION_STRING" --overwrite +else +az storage blob upload-batch -s _dist/ -d "$AZURE_STORAGE_CONTAINER_NAME" --pattern 'helm-*' --connection-string "$AZURE_STORAGE_CONNECTION_STRING" +if \ No newline at end of file