fix: ensure extract_plugin_versions.py output ends with newline to prevent GH Actions EOF error
This commit is contained in:
@@ -295,6 +295,8 @@ def main():
|
|||||||
if args.output:
|
if args.output:
|
||||||
with open(args.output, "w", encoding="utf-8") as f:
|
with open(args.output, "w", encoding="utf-8") as f:
|
||||||
f.write(output)
|
f.write(output)
|
||||||
|
if not output.endswith("\n"):
|
||||||
|
f.write("\n")
|
||||||
print(f"Output written to {args.output}")
|
print(f"Output written to {args.output}")
|
||||||
else:
|
else:
|
||||||
print(output)
|
print(output)
|
||||||
|
|||||||
Reference in New Issue
Block a user