Skip to content

Commit

Permalink
chore: Unuse bump-my-version
Browse files Browse the repository at this point in the history
  • Loading branch information
attakei committed Feb 19, 2024
1 parent 60520b0 commit dcbc743
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[project]
name = "rst-multi-refs"
version = "0.0.0"
description = "reStrucuturedText's custom roles and role builder kit for package registries of any languages."
authors = [
{ name = "Kazuya Takei", email = "[email protected]" }
Expand Down Expand Up @@ -28,7 +29,6 @@ classifiers = [
"Topic :: Software Development :: Documentation",
"Topic :: Text Processing :: Markup :: reStructuredText",
]
dynamic = ["version"]

[project.optional-dependencies]
sphinx = [
Expand Down Expand Up @@ -63,18 +63,10 @@ select = ["C90", "D", "E", "F", "I", "W"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"

[tool.bumpversion]
current_version = "0.0.0"
commit = true
tag = false
[tool.local]
message = "release: Bump version {current_version} -> {new_version}"

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

[[tool.bumpversion.files]]
[[tool.local.bumpversion.files]]
filename = "src/rst_multi_refs/__init__.py"
search = "__version__ = \"{current_version}\""
replace = "__version__ = \"{new_version}\""
Expand All @@ -84,6 +76,3 @@ allow-direct-references = true

[tool.hatch.build.targets.wheel]
packages = ["src/rst_multi_refs"]

[tool.hatch.version]
path = "src/rst_multi_refs/__init__.py"

0 comments on commit dcbc743

Please sign in to comment.