only apply overwrite if version is canary

Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>
(cherry picked from commit 9c064f9cf4)
pull/10808/head
Sourik Ghosh 4 years ago committed by Matt Farina
parent 92757895d6
commit a4371bae4f
No known key found for this signature in database
GPG Key ID: 92C44A3D421FF7F9

@ -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
Loading…
Cancel
Save