1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-05-08 17:28:46 +01:00

Remove check

This commit is contained in:
Paulus Schoutsen
2019-07-17 13:01:12 -07:00
parent f3d1a421f4
commit 4f72eb5416
-14
View File
@@ -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: