From 081f7124d72852d8d0293e981fb7785b9b9863ef Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 28 Jun 2019 13:16:49 +0200 Subject: [PATCH] Update azure-pipelines-release.yml for Azure Pipelines --- azure-pipelines-release.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/azure-pipelines-release.yml b/azure-pipelines-release.yml index a2fb2d1dd..8632caf68 100644 --- a/azure-pipelines-release.yml +++ b/azure-pipelines-release.yml @@ -29,17 +29,6 @@ jobs: exit 1 fi displayName: 'Check version of branch/tag' - - script: | - sudo apt-get install -y --no-install-recommends \ - jq curl - release="$(Build.SourceBranchName)" - created_by="$(curl -s https://api.github.com/repos/home-assistant/hassos/releases/tags/${release} | jq --raw-output '.author.login')" - if [[ "${created_by}" =~ ^(balloob|pvizeli|fabaff|robbiet480)$ ]]; then - exit 0 - fi - echo "${created_by} is not allowed to create an release!" - exit 1 - displayName: 'Check rights' - job: 'Release'