Skip to content

Commit c31bf6f

Browse files
committed
poetry: add bump_version
Signed-off-by: Jos Verlinde <[email protected]>
1 parent 00423c0 commit c31bf6f

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

pyproject.toml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repo-path = "./repos"
88

99
[tool.poetry]
1010
name = "micropython-stubber"
11-
version = "1.13.5"
11+
version = "1.13.7"
1212
description = "Tooling to create and maintain stubs for MicroPython"
1313
authors = ["Jos Verlinde <[email protected]>"]
1414
license = "MIT"
@@ -101,6 +101,24 @@ mpremote = { git = "https://github.com/Josverl/mpremote", subdirectory = "tools/
101101
requires = ["poetry-core>=1.0.0"]
102102
build-backend = "poetry.core.masonry.api"
103103

104+
[tool.poetry_bumpversion.file."src/stubber/__init__.py"]
105+
[tool.poetry_bumpversion.file."src/stubber/board/createstubs.py"]
106+
[tool.poetry_bumpversion.file."src/stubber/board/createstubs_mem.py"]
107+
[tool.poetry_bumpversion.file."src/stubber/board/createstubs_db.py"]
108+
[tool.poetry_bumpversion.file."src/stubber/board/createstubs_min.py"]
109+
[tool.poetry_bumpversion.file."src/stubber/board/createstubs_mem_min.py"]
110+
[tool.poetry_bumpversion.file."src/stubber/board/createstubs_db_min.py"]
111+
112+
[[tool.poetry_bumpversion.replacements]]
113+
files = [
114+
"package.json",
115+
"mip/full.json",
116+
"mip/minified.json",
117+
"mip/mpy_v5.json",
118+
"mip/mpy_v6.json",
119+
]
120+
search = '"version": "{current_version}"'
121+
replace = '"version": "{new_version}"'
104122

105123
[tool.pyright]
106124
include = ["src", "tests"]

0 commit comments

Comments
 (0)