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:
Oliver Smith 2026-06-05 19:09:09 +02:00 committed by The Friendly Meow (merge) Bot
parent ac3e4f8a70
commit 87502f982e
No known key found for this signature in database

View file

@ -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)