File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
55[project ]
66name = " my-paper"
77classifiers = [" Private :: Do Not Upload" ]
8- version = " 0"
8+ version = " 0.2.0 "
99dependencies = [
1010 " h5py==3.9.0" , # Pin to same version that is allready installed in the docker image
1111 " cardiac-geometries>=0.11.0" ,
@@ -19,6 +19,7 @@ dependencies = [
1919dev = [
2020 " pdbpp" ,
2121 " pre-commit" ,
22+ " bump-my-version" ,
2223]
2324docs = [
2425 " jupyter-book" ,
@@ -71,3 +72,24 @@ target-version = "py310"
7172[tool .ruff .mccabe ]
7273# Unlike Flake8, default to a complexity level of 10.
7374max-complexity = 10
75+
76+
77+ [tool .bumpversion ]
78+ allow_dirty = false
79+ commit = true
80+ message = " Bump version: {current_version} → {new_version}"
81+ tag = true
82+ sign_tags = false
83+ tag_name = " v{new_version}"
84+ tag_message = " Bump version: {current_version} → {new_version}"
85+ current_version = " 0.2.0"
86+ parse = " (?P<major>\\ d+)\\ .(?P<minor>\\ d+)\\ .(?P<patch>\\ d+)"
87+ serialize = [
88+ " {major}.{minor}.{patch}"
89+ ]
90+ search = " version = {current_version}"
91+ replace = " version = {new_version}"
92+
93+
94+ [[tool .bumpversion .files ]]
95+ filename = " pyproject.toml"
You can’t perform that action at this time.
0 commit comments