Skip to content

Commit

Permalink
Remove check
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Jul 17, 2019
1 parent f3d1a42 commit 4f72eb5
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions azure-pipelines-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,6 @@ stages:
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/home-assistant-polymer/releases/tags/${release} | jq --raw-output '.author.login')"
if [[ "${created_by}" =~ ^(balloob)$ ]]; then
exit 0
fi
echo "${created_by} is not allowed to create an release!"
exit 1
displayName: "Check rights"
- stage: "Build"
jobs:
Expand Down

0 comments on commit 4f72eb5

Please sign in to comment.