diff --git a/pyproject.toml b/pyproject.toml index 47707e061..3b8174afe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"