Skip to content

Commit

Permalink
got bump my version added back, bumped to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NodeJSmith committed Jun 16, 2024
1 parent 9aa07b2 commit 398f31a
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 3 deletions.
30 changes: 30 additions & 0 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[tool.bumpversion]
current_version = "0.2.0"

parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<dev>dev)\\d+\\+[-_a-zA-Z0-9]+)?"

serialize = ["{major}.{minor}.{patch}-dev{dev}", "{major}.{minor}.{patch}"]
commit = false
tag = false

[tool.bumpversion.parts.minor]
optional = false

[tool.bumpversion.parts.dev]
optional = true

[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'

[[tool.bumpversion.files]]
filename = "src/otf_api/__version__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'


[[tool.bumpversion.files]]
filename = ".bumpversion.toml"
search = 'current_version = "{current_version}"'
replace = 'current_version = "{new_version}"'
133 changes: 131 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "otf-api"
version = "0.0.1"
version = "0.2.0"
description = "Python OrangeTheory Fitness API Client"
authors = ["Jessica Smith <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -41,6 +41,7 @@ mypy = "1.10.0"
twine = "5.1.0"
black = "^24.4.2"
httpx = "^0.27.0"
bump-my-version = "^0.23.0"


[tool.poetry.group.docs.dependencies]
Expand Down
1 change: 1 addition & 0 deletions src/otf_api/__version__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.2.0"

0 comments on commit 398f31a

Please sign in to comment.