From 29dcd7307785a36d2985cc5f9f29274a6df27f28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Wed, 29 Jun 2022 16:17:19 -0700 Subject: [PATCH] Fix release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bernát Gábor --- tasks/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/release.py b/tasks/release.py index 52066cbe9..1e06af2cd 100644 --- a/tasks/release.py +++ b/tasks/release.py @@ -47,7 +47,7 @@ def get_upstream(repo: Repo) -> Remote: def release_changelog(repo: Repo, version: Version) -> Commit: print("generate release commit") - check_call(["towncrier", "--yes", "--version", version.public], cwd=str(ROOT_SRC_DIR)) + check_call(["towncrier", "build", "--yes", "--version", version.public], cwd=str(ROOT_SRC_DIR)) release_commit = repo.index.commit(f"release {version}") return release_commit