Skip to content

Commit

Permalink
global: add bumpversion config
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalEgn committed Jul 25, 2024
1 parent fc33655 commit 2a030af
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions inspire_matcher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@

from .api import match # noqa: F401
from .ext import InspireMatcher # noqa: F401

__version__ = "9.0.28"
17 changes: 14 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,20 @@
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

#
# Tests
#
[bumpversion]
current_version = 9.0.28
commit = True
tag = True
tag_name = {new_version}
message = Bump version: {current_version} → {new_version} [skip ci]

[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:inspire_matcher/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

[coverage:run]
include = inspire_matcher/*.py
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
'inspire_matcher = inspire_matcher:InspireMatcher',
],
},
version="9.0.28",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
Expand All @@ -117,6 +118,9 @@
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
],
Expand Down

0 comments on commit 2a030af

Please sign in to comment.