mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 06:05:10 +02:00
Update azure-pipelines-release.yml for Azure Pipelines
This commit is contained in:
committed by
Paulus Schoutsen
parent
f7f9126610
commit
21e0df42ac
@@ -41,7 +41,7 @@ stages:
|
|||||||
jq curl
|
jq curl
|
||||||
|
|
||||||
release="$(Build.SourceBranchName)"
|
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/core/releases/tags/${release} | jq --raw-output '.author.login')"
|
||||||
|
|
||||||
if [[ "${created_by}" =~ ^(balloob|pvizeli|fabaff|robbiet480|bramkragten|frenck)$ ]]; then
|
if [[ "${created_by}" =~ ^(balloob|pvizeli|fabaff|robbiet480|bramkragten|frenck)$ ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
|
Reference in New Issue
Block a user