towncrier integration (#647)

* Added towncrier and clone changelog from GitHub Releases page

* Added record to changelog

* Extended makefile

* Fix typo

* Changed ref in changelog

* Auto-confirm towncrier question on build

Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
This commit is contained in:
Alex Root Junior 2021-08-01 19:08:03 +03:00 committed by GitHub
parent 16cf6419d3
commit 9114abe919
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 644 additions and 1 deletions

View file

@ -81,6 +81,7 @@ sphinx-copybutton = "^0.3.1"
furo = "^2021.6.18-beta.36"
sphinx-prompt = "^1.3.0"
Sphinx-Substitution-Extensions = "^2020.9.30"
towncrier = "^21.3.0"
[tool.poetry.extras]
@ -131,6 +132,13 @@ known_third_party = [
"pytest"
]
[tool.towncrier]
package = "aiogram"
filename = "CHANGES.rst"
directory = "CHANGES/"
template = "CHANGES/.template.rst.jinja2"
issue_format = "`#{issue} <https://github.com/aiogram/aiogram/issues/{issue}>`_"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"