File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ dev = [
4343 " types-requests" ,
4444 " voluptuous-stubs" ,
4545 " pyyaml" ,
46+ " bumpver"
4647
4748]
4849[project .urls ]
@@ -158,3 +159,27 @@ disable_error_code = ["attr-defined", "import"]
158159
159160[tool .pytest .ini_options ]
160161pythonpath = [" ." , " tests" ]
162+
163+ [tool .bumpver ]
164+ current_version = " 0.1.11"
165+ version_pattern = " MAJOR.MINOR.PATCH[PYTAGNUM]"
166+ commit_message = " bump version {old_version} -> {new_version}"
167+ tag_message = " {new_version}"
168+ tag_scope = " default"
169+ pre_commit_hook = " "
170+ post_commit_hook = " "
171+ commit = true
172+ tag = true
173+ push = true
174+
175+ [tool .bumpver .file_patterns ]
176+ "pyproject.toml" = [
177+ ' current_version = "{version}"' ,
178+ ' version = "{version}"' ,
179+ ]
180+ "custom_components/feedparser/manifest.json" = [
181+ ' version": "{version}"' ,
182+ ]
183+ "custom_components/feedparser/sensor.py" = [
184+ ' __version__ = "{version}"' ,
185+ ]
You can’t perform that action at this time.
0 commit comments