fix setup.cfg for zest.releaser

This commit is contained in:
Petr Dlouhý 2024-04-17 12:42:46 +02:00
parent 76b7f2e9bf
commit 5436e0282c

View file

@ -5,7 +5,7 @@ commit_args = --no-verify
tag = True tag = True
tag_name = {new_version} tag_name = {new_version}
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\+\w+-(?P<dev>\d+))? parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\+\w+-(?P<dev>\d+))?
serialize = serialize =
{major}.{minor}.{patch}+{$BRANCH_NAME}-{dev} {major}.{minor}.{patch}+{$BRANCH_NAME}-{dev}
{major}.{minor}.{patch} {major}.{minor}.{patch}
message = Version updated from {current_version} to {new_version} message = Version updated from {current_version} to {new_version}
@ -19,7 +19,7 @@ long_description_content_type = text/markdown
author = Corey Oordt author = Corey Oordt
author_email = coreyoordt@gmail.com author_email = coreyoordt@gmail.com
url = http://github.com/jazzband/django-categories url = http://github.com/jazzband/django-categories
classifiers = classifiers =
Framework :: Django Framework :: Django
[options] [options]
@ -28,17 +28,17 @@ include_package_data = True
packages = find: packages = find:
[options.packages.find] [options.packages.find]
exclude = exclude =
example* example*
docs docs
build build
include = include =
categories categories
categories.* categories.*
[flake8] [flake8]
ignore = D203,W503,E501 ignore = D203,W503,E501
exclude = exclude =
.git .git
.tox .tox
docs docs
@ -65,3 +65,6 @@ search = Unreleased
[bumpversion:file(diff link):CHANGELOG.md] [bumpversion:file(diff link):CHANGELOG.md]
search = {current_version}...HEAD search = {current_version}...HEAD
replace = {current_version}...{new_version} replace = {current_version}...{new_version}
[zest.releaser]
python-file-with-version = categories/__init__.py