Tweak commit message script

pull/530/head 0.48.0
Ivan Habunek 2025-03-06 10:26:51 +01:00
rodzic 6a444d5d09
commit f286335e48
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 01DB3DD0D824504C
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -12,7 +12,6 @@ import subprocess
import sys
import textwrap
import yaml
import toot
from datetime import date
from os import path
@ -43,8 +42,8 @@ if not isinstance(release_date, date):
commit_message = f"toot {version}\n\n"
if description:
lines = textwrap.wrap(description.strip(), 72)
commit_message += "\n".join(lines) + "\n\n"
commit_message += textwrap.dedent(description)
commit_message += "\n\n"
for c in changes:
lines = textwrap.wrap(c, 70)