Merge pull request #10726 from sourikghosh/fix/10724-sh

overwrite flag added to az storage blob upload-batch
pull/10739/head
Josh Dolitsky 3 years ago committed by GitHub
commit d61b9befea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,4 +46,8 @@ make build-cross
make dist checksum VERSION="${VERSION}"
echo "Pushing binaries to Azure"
az storage blob upload-batch -s _dist/ -d "$AZURE_STORAGE_CONTAINER_NAME" --pattern 'helm-*' --connection-string "$AZURE_STORAGE_CONNECTION_STRING"
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