Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Commit

Permalink
Short-circuit appropriately if bump label says no need to make a change
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon authored May 25, 2020
1 parent ed4e96e commit 7418d5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions release_often/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ def update_version(pr_event):
except ValueError as exc:
gidgethub.actions.command("debug", str(exc))
return None
else:
if not new_version:
return None
gidgethub.actions.command("debug", f"New version is {new_version}")
try:
new_contents = build_tool.change_version(
Expand Down

0 comments on commit 7418d5a

Please sign in to comment.