mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
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:
parent
16cf6419d3
commit
9114abe919
9 changed files with 644 additions and 1 deletions
20
Makefile
20
Makefile
|
|
@ -123,3 +123,23 @@ build: clean flake8-report mypy-report test-coverage
|
|||
bump:
|
||||
poetry version $(args)
|
||||
$(python) scripts/bump_versions.py
|
||||
|
||||
.PHONY: towncrier-build
|
||||
towncrier-build:
|
||||
towncrier build --yes
|
||||
|
||||
.PHONY: towncrier-draft
|
||||
towncrier-draft:
|
||||
towncrier build --draft
|
||||
|
||||
.PHONY: towncrier-draft-github
|
||||
towncrier-draft-github:
|
||||
mkdir -p dist
|
||||
towncrier build --draft | pandoc - -o dist/release.md
|
||||
|
||||
.PHONY: prepare-release
|
||||
prepare-release: bump towncrier-draft-github towncrier-build
|
||||
|
||||
.PHONY: tag-release
|
||||
tag-release:
|
||||
git tag v$(poetry version -s)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue