Skip to content

Commit

Permalink
only apply overwrite if version is canary
Browse files Browse the repository at this point in the history
Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>
  • Loading branch information
sourikghosh committed Mar 8, 2022
1 parent 9a784bb commit 9c064f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .circleci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9c064f9

Please sign in to comment.