summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorBernát Gábor <bgabor8@bloomberg.net>2022-04-11 10:45:35 +0100
committerBernát Gábor <gaborjbernat@gmail.com>2022-09-09 18:55:45 -0700
commit8af8ed3a6cbdd68d77c1465d4623cb0801bd3671 (patch)
treefb34179d447d9dc49c40d99ae1a1f9ecae6d4a3c /tasks
parent9a101c4a3cd162a73b9cab1ed9f31f2512c4b75d (diff)
downloadtox-git-8af8ed3a6cbdd68d77c1465d4623cb0801bd3671.tar.gz
Fix release documentation
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
Diffstat (limited to 'tasks')
-rw-r--r--tasks/release.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/release.py b/tasks/release.py
index 4e2fdfee..61fcdb20 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