From 4c159f56f56783953e2d86afc668146a0e87f7ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Tue, 17 Oct 2023 14:01:30 +0200 Subject: [PATCH] Apply suggestions from code review --- .github/changelog-processor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/changelog-processor.py b/.github/changelog-processor.py index 1bd307bbe5..7fc444965d 100755 --- a/.github/changelog-processor.py +++ b/.github/changelog-processor.py @@ -40,11 +40,11 @@ if args.print_latest_version: print(version, end = "") - sys.exit(1) + sys.exit(0) elif args.should_release: if version.lower() == "unreleased": print("0", end = "") - sys.exit(1) + sys.exit(-1) elif version.count(".") != 2: print("0", end = "") sys.exit(-1) @@ -58,6 +58,6 @@ else: print("0", end = "") - sys.exit(1) + sys.exit(0) else: parser.print_help()