From e6a7f40c2f9b36dbf993724ccc2fc3b69fbe1694 Mon Sep 17 00:00:00 2001 From: Patryk Michalik Date: Sat, 5 Jun 2021 08:40:13 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=98send=5Fchangelog.py=E2=80=99:=20Add=20?= =?UTF-8?q?missing=20newline?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- send_changelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/send_changelog.py b/send_changelog.py index 01407ecc02..92393a83e0 100644 --- a/send_changelog.py +++ b/send_changelog.py @@ -11,7 +11,7 @@ telegram_ci_channel_id = os.getenv('TELEGRAM_CI_CHANNEL_ID') repository = git.Repo('.') commits_range = f'{github_event_before}...{github_sha}' commits = list(repository.iter_commits(commits_range)) -message = f'''🔨 [{len(commits)} new {'commit' if len(commits) == 1 else 'commits'}](https://github.com/{github_repo}/compare/{commits_range}) to `lawnchair:11-dev`:''' +message = f'''🔨 [{len(commits)} new {'commit' if len(commits) == 1 else 'commits'}](https://github.com/{github_repo}/compare/{commits_range}) to `lawnchair:11-dev`:\n''' for commit in commits: commit_message = commit.message.split('\n')[0].replace('_', '\\_')