Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr authored Oct 17, 2023
1 parent f2758c5 commit 4c159f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/changelog-processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -58,6 +58,6 @@
else:
print("0", end = "")

sys.exit(1)
sys.exit(0)
else:
parser.print_help()

0 comments on commit 4c159f5

Please sign in to comment.