sphinx-contrib / sphinxcontrib-towncrier

An RST directive for injecting a Towncrier-generated changelog draft containing fragments for the unreleased (next) project version. Demo: https://ansible-pylibssh.rtfd.io/changelog. Docs: https://sphinxcontrib-towncrier.rtfd.io
https://pypi.org/p/sphinxcontrib-towncrier
BSD 3-Clause "New" or "Revised" License
18 stars 18 forks source link

Support towncrier >= 21.9.0rc1 #55

Closed s0undt3ch closed 2 years ago

s0undt3ch commented 3 years ago

Version 21.9.0rc1 of towncrier introduced --version for the tool, which means that, if you want to pass --version when building the changelog, you must pass the build command and not rely on the default command being build.

s0undt3ch commented 2 years ago

Can we get this merged and released?

webknjaz commented 2 years ago

Since we don't really have the testing infra set up fully, I had to manually verify that this subcommand is present and works in v19.2. I think I can merge this now. In the future, we could use some real testing, though. Not just smoke.

s0undt3ch commented 2 years ago

Thanks!

webknjaz commented 2 years ago

Published: https://github.com/sphinx-contrib/sphinxcontrib-towncrier/runs/4670639101?check_suite_focus=true#step:11:30.