bumpversion: set the release date automatically

This commit is contained in:
Adrián Chaves 2025-05-28 10:12:37 +02:00
parent 0cdb971f63
commit 08ee88456f
1 changed files with 6 additions and 0 deletions

View File

@ -120,6 +120,12 @@ commit = true
tag = true
tag_name = "{new_version}"
[[tool.bumpversion.files]]
filename = "docs/news.rst"
search = "\\(unreleased\\)$"
replace = "({now:%Y-%m-%d})"
regex = true
[[tool.bumpversion.files]]
filename = "scrapy/VERSION"