More checks

This commit is contained in:
alesapin 2021-10-29 20:41:43 +03:00
parent 7ae8995ff3
commit ae64b82961

View File

@ -115,9 +115,9 @@ if __name__ == "__main__":
if retcode == 0:
logging.info("Run successfully")
status = "success"
description = "Run Ok"
description = "Released successfuly"
else:
description = "Run failed (non zero exit code)"
description = "Release failed (non zero exit code)"
status = "failure"
logging.info("Run failed")
@ -139,7 +139,7 @@ if __name__ == "__main__":
lines.append((line.split(':')[-1], "FAIL"))
if lines:
status = "failure"
description = "Found errors during docs release"
description = "Found errors in docs"
elif status != "failure":
lines.append(("No errors found", "OK"))
else: