Skip to content

Commit

Permalink
Use default zero value when exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-dG committed Mar 3, 2020
1 parent b9a7ab8 commit 4575d10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tagbot/action/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

if not repo.is_registered():
info("This package is not registered, skipping")
sys.exit(0)
sys.exit()

try:
versions = repo.new_versions()
Expand All @@ -57,11 +57,11 @@
raise
info(e.args[0])
info("If this repository is not going to be registered, then remove TagBot")
sys.exit(0)
sys.exit()

if not versions:
info("No new versions to release")
sys.exit(0)
sys.exit()

if dispatch:
minutes = int(dispatch_delay)
Expand Down

0 comments on commit 4575d10

Please sign in to comment.