mirror of
https://github.com/harry0703/MoneyPrinterTurbo.git
synced 2025-11-25 11:29:36 +08:00
chore: add changelog auto gen
This commit is contained in:
17
changelog.py
Normal file
17
changelog.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from git_changelog.cli import build_and_render
|
||||
|
||||
# 运行这段脚本自动生成CHANGELOG.md文件
|
||||
|
||||
build_and_render(
|
||||
repository=".",
|
||||
output="CHANGELOG.md",
|
||||
convention="angular",
|
||||
provider="github",
|
||||
template="keepachangelog",
|
||||
parse_trailers=True,
|
||||
parse_refs=False,
|
||||
sections=["build", "deps", "feat", "fix", "refactor"],
|
||||
versioning="pep440",
|
||||
bump="1.1.2", # 指定bump版本
|
||||
in_place=True,
|
||||
)
|
||||
Reference in New Issue
Block a user