fix(ci): only build Helm 2 off a tag

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
pull/6724/head
Matthew Fisher 6 years ago
parent 7ca75251d6
commit 50b838f9d3
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -28,10 +28,8 @@ fi
VERSION=
if [[ -n "${CIRCLE_TAG:-}" ]]; then
VERSION="${CIRCLE_TAG}"
elif [[ "${CIRCLE_BRANCH:-}" == "master" ]]; then
VERSION="canary"
else
echo "Skipping deploy step; this is neither master or a tag"
echo "Skipping deploy step; this is not a tag"
exit
fi
@ -77,4 +75,4 @@ 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"
echo "Pushing KEYS file to Azure"
az storage blob upload -f "KEYS" -n "KEYS" -c "$AZURE_STORAGE_CONTAINER_NAME" --connection-string "$AZURE_STORAGE_CONNECTION_STRING"
az storage blob upload -f "KEYS" -n "KEYS" -c "$AZURE_STORAGE_CONTAINER_NAME" --connection-string "$AZURE_STORAGE_CONNECTION_STRING"

Loading…
Cancel
Save