Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
john-kurkowski committed Mar 19, 2024
1 parent befc91c commit f4e993f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def add_git_tag_for_version(version: str) -> Iterator[None]:
print(f"Version {version} tag added successfully.")
try:
yield
except Exception:
except:
subprocess.run(["git", "tag", "-d", version])
raise

Expand Down

0 comments on commit f4e993f

Please sign in to comment.