Skip to content

Commit f8fdb58

Browse files
committed
add bumpversion
1 parent ca453f6 commit f8fdb58

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

pyproject.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,38 @@ dev = [
2121
"psycopg[pool]>=3.2.4",
2222
"pypgstac==0.9.8",
2323
"pytest>=8.3.4",
24+
"bump-my-version"
2425
]
2526
load = [
2627
"pgstacrs>=0.1.1",
2728
"stacrs>=0.5.9",
2829
]
30+
31+
[tool.bumpversion]
32+
current_version = "0.1.0"
33+
search = "{current_version}"
34+
replace = "{new_version}"
35+
regex = false
36+
tag = false
37+
commit = false
38+
tag_name = "{new_version}"
39+
40+
[[tool.bumpversion.files]]
41+
filename = "pyproject.toml"
42+
search = 'version = "{current_version}"'
43+
replace = 'version = "{new_version}"'
44+
45+
[[tool.bumpversion.files]]
46+
filename = "runtimes/eoapi/raster/eoapi/raster/__init__.py"
47+
search = '__version__ = "{current_version}"'
48+
replace = '__version__ = "{new_version}"'
49+
50+
[[tool.bumpversion.files]]
51+
filename = "runtimes/eoapi/stac/eoapi/stac/__init__.py"
52+
search = '__version__ = "{current_version}"'
53+
replace = '__version__ = "{new_version}"'
54+
55+
[[tool.bumpversion.files]]
56+
filename = "runtimes/eoapi/vector/eoapi/vector/__init__.py"
57+
search = '__version__ = "{current_version}"'
58+
replace = '__version__ = "{new_version}"'

0 commit comments

Comments
 (0)