Skip to content

Commit

Permalink
Raise an error on tag creation command execution
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck authored Aug 30, 2024
1 parent ac522ac commit 0b10e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def tag(
else:
name = kind_or_name
args = ['-a', semver(name), '-m', '', *context.args]
subprocess.run(['git', '-C', repository.location, 'tag', *args])
subprocess.run(['git', '-C', repository.location, 'tag', *args], check=True)


if __name__ == '__main__':
Expand Down

0 comments on commit 0b10e10

Please sign in to comment.