Skip to content

Commit

Permalink
revert to bump2version, tbump broken
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Feb 21, 2023
1 parent 295b8fd commit 8531bb2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
15 changes: 0 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,3 @@ line-length = 120

[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]

[tool.tbump]
file = [
{ src = "pyproject.toml", version_template = "version = \"{major}.{minor}.{patch}\"" },
{ src = "ipydagred3/_version.py", version_template = "version = \"{major}.{minor}.{patch}\"" },
{ src = "js/package.json", version_template = "\"version\": \"{major}.{minor}.{patch}\"" },
]

[tool.tbump.version]
current = "0.3.7"
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"

[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
16 changes: 16 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[bumpversion]
current_version = 0.3.7
commit = True
tag = False

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

[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:js/package.json]
search = "version": "{current_version}"
replace = "version": "{new_version}"

0 comments on commit 8531bb2

Please sign in to comment.