Update azure-pipelines-release.yml

This commit is contained in:
Paulus Schoutsen 2019-07-17 12:33:46 -07:00 committed by GitHub
parent 8fb991c5ce
commit e4cbdc29a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ stages:
jq curl
release="$(Build.SourceBranchName)"
created_by="$(curl -s https://api.github.com/repos/home-assistant/home-assistant/releases/tags/${release} | jq --raw-output '.author.login')"
created_by="$(curl -s https://api.github.com/repos/home-assistant/home-assistant-polymer/releases/tags/${release} | jq --raw-output '.author.login')"
if [[ "${created_by}" =~ ^(balloob)$ ]]; then
exit 0