Skip to content

Commit

Permalink
Fix release
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
  • Loading branch information
gaborbernat committed Jun 29, 2022
1 parent f3949f8 commit 29dcd73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/release.py
Expand Up @@ -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

Expand Down

0 comments on commit 29dcd73

Please sign in to comment.