Fix silly typo that caused wrong tags messages

This commit is contained in:
Mikhail f. Shiryaev 2024-06-14 19:03:32 +02:00
parent dc1d710b82
commit 799e573008
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -550,7 +550,7 @@ class Release:
def _create_tag(
self, tag: str, commit: str, tag_message: str = ""
) -> Iterator[None]:
tag_message = tag_message or "Release {tag}"
tag_message = tag_message or f"Release {tag}"
# Create tag even in dry-run
self.run(f"git tag -a -m '{tag_message}' '{tag}' {commit}")
rollback_cmd = f"git tag -d '{tag}'"