Skip to content

Commit

Permalink
Use normalized name in coh tag log output
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck authored Aug 30, 2024
1 parent 101d534 commit bf12568
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions __main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ def tag(
name = repository.get_next_version(kind_or_name)
else:
name = kind_or_name
args = ['-a', semver(name), '-m', '', *context.args]
final_name = semver(name)
args = ['-a', final_name, '-m', '', *context.args]
subprocess.run(['git', '-C', repository.location, 'tag', *args], check=True)
print(f"Created tag {name}")
print(f"Created tag {final_name}")


if __name__ == '__main__':
Expand Down

0 comments on commit bf12568

Please sign in to comment.