From 5436e0282cd887ecd808a5e5894b2bbcb9952263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Dlouh=C3=BD?= Date: Wed, 17 Apr 2024 12:42:46 +0200 Subject: [PATCH] fix setup.cfg for zest.releaser --- setup.cfg | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index 6ecf285..bdd7c4e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,7 +5,7 @@ commit_args = --no-verify tag = True tag_name = {new_version} parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\+\w+-(?P\d+))? -serialize = +serialize = {major}.{minor}.{patch}+{$BRANCH_NAME}-{dev} {major}.{minor}.{patch} message = Version updated from {current_version} to {new_version} @@ -19,7 +19,7 @@ long_description_content_type = text/markdown author = Corey Oordt author_email = coreyoordt@gmail.com url = http://github.com/jazzband/django-categories -classifiers = +classifiers = Framework :: Django [options] @@ -28,17 +28,17 @@ include_package_data = True packages = find: [options.packages.find] -exclude = +exclude = example* docs build -include = +include = categories categories.* [flake8] ignore = D203,W503,E501 -exclude = +exclude = .git .tox docs @@ -65,3 +65,6 @@ search = Unreleased [bumpversion:file(diff link):CHANGELOG.md] search = {current_version}...HEAD replace = {current_version}...{new_version} + +[zest.releaser] +python-file-with-version = categories/__init__.py