Skip to content

Commit

Permalink
Fixes bump2version
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell Toris authored and russell-inorbit committed May 6, 2024
1 parent 64da90a commit 4957417
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 17 deletions.
12 changes: 12 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[bumpversion]
commit = true
current_version = 1.13.1
tag = true

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

[bumpversion:file:inorbit_edge/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
2 changes: 1 addition & 1 deletion inorbit_edge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
__email__ = "[email protected]"
# Do not edit this string manually, always use bumpversion
# Details in CONTRIBUTING.md
__version__ = "1.13.1"
__version__ = "1.13.0"


def get_module_version():
Expand Down
15 changes: 0 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,6 @@ exclude = '''
)
'''

[tool.bump2version]
commit = true
current_version = "1.13.0"
tag = true

[[tool.bump2version.file_pattern]]
filename = "setup.py"
replace = "VERSION=\"{new_version}\""
search = "VERSION=\"{current_version}\""

[[tool.bump2version.file_pattern]]
filename = "inorbit_edge/__init__.py"
replace = "__version__=\"{new_version}\""
search = "__version__=\"{current_version}\""

[tool.coverage.run]
source = ["inorbit_edge"]

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from setuptools import find_packages, setup

# Do not edit manually, always use bumpversion (see CONTRIBUTING.rst)
VERSION = "1.13.1"
VERSION = "1.13.0"

GITHUB_ORG = "https://github.com/inorbit-ai"
GITHUB_REPO = f"{GITHUB_ORG}/edge-sdk-python"
Expand Down

0 comments on commit 4957417

Please sign in to comment.