CI: apkbuild-lint: make output more readable
Add empty lines around the apkbuild-lint output, so it is easy to spot. Also note when it is starting and if it was successful (vs. not having any output on success). Signed-off-by: Oliver Smith <ollieparanoid@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8735>
This commit is contained in:
parent
ac3e4f8a70
commit
87502f982e
1 changed files with 9 additions and 0 deletions
|
|
@ -57,6 +57,10 @@ if __name__ == "__main__":
|
|||
if len(apkbuilds_filtered) < 1:
|
||||
print("No APKBUILDs to lint")
|
||||
sys.exit(0)
|
||||
|
||||
print("Running apkbuild-lint...")
|
||||
print("")
|
||||
|
||||
ret = 0
|
||||
for apkbuild in apkbuilds_filtered:
|
||||
try:
|
||||
|
|
@ -64,4 +68,9 @@ if __name__ == "__main__":
|
|||
subprocess.run(cmd, text=True, check=True)
|
||||
except subprocess.CalledProcessError as exception:
|
||||
ret = exception.returncode
|
||||
|
||||
print("")
|
||||
if ret == 0:
|
||||
print("Success")
|
||||
|
||||
sys.exit(ret)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue