Add --yes to towncrier to automatically remove files

This commit is contained in:
Bruno Oliveira
2018-02-20 01:43:20 +00:00
parent 053fc118b7
commit f8fdf0ae91

View File

@@ -103,4 +103,4 @@ def changelog(ctx, version, write_out=False):
addopts = []
else:
addopts = ['--draft']
check_call(['towncrier', '--version', version] + addopts)
check_call(['towncrier', '--yes', '--version', version] + addopts)