Skip to content

Commit f286335

Browse files
committed
Tweak commit message script
1 parent 6a444d5 commit f286335

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/tag_version

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import subprocess
1212
import sys
1313
import textwrap
1414
import yaml
15-
import toot
1615

1716
from datetime import date
1817
from os import path
@@ -43,8 +42,8 @@ if not isinstance(release_date, date):
4342
commit_message = f"toot {version}\n\n"
4443

4544
if description:
46-
lines = textwrap.wrap(description.strip(), 72)
47-
commit_message += "\n".join(lines) + "\n\n"
45+
commit_message += textwrap.dedent(description)
46+
commit_message += "\n\n"
4847

4948
for c in changes:
5049
lines = textwrap.wrap(c, 70)

0 commit comments

Comments
 (0)