mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-11 00:54:28 +05:00
add bumb2version
This commit is contained in:
21
.bumpversion.cfg
Normal file
21
.bumpversion.cfg
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
[bumpversion]
|
||||||
|
current_version = 1.1.0b1
|
||||||
|
parse = (?P<major>\d+)(\.(?P<minor>\d+))(\.(?P<patch>\d))(?P<release>[bf]*)(?P<build>\d*)
|
||||||
|
commit = True
|
||||||
|
tag = True
|
||||||
|
serialize =
|
||||||
|
{major}.{minor}.{patch}{release}{build}
|
||||||
|
{major}.{minor}.{patch}
|
||||||
|
|
||||||
|
[bumpversion:part:release]
|
||||||
|
optional_value = f
|
||||||
|
values =
|
||||||
|
b
|
||||||
|
f
|
||||||
|
|
||||||
|
[bumpversion:part:build]
|
||||||
|
first_value = 0
|
||||||
|
|
||||||
|
[bumpversion:file:custom_components/mega/manifest.json]
|
||||||
|
search = "version": "v{current_version}"
|
||||||
|
replace = "version": "v{new_version}"
|
||||||
Reference in New Issue
Block a user