Fail release on status == failure

This commit is contained in:
Mikhail f. Shiryaev 2022-05-24 11:13:58 +02:00
parent a83864cdcb
commit 90425dedd1
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -116,3 +116,6 @@ if __name__ == "__main__":
commit.create_status( commit.create_status(
context=NAME, description=description, state=status, target_url=report_url context=NAME, description=description, state=status, target_url=report_url
) )
if status == "failure":
sys.exit(1)