This commit is contained in:
Devaev Maxim
2018-09-25 10:32:33 +03:00
parent 97ce6b8422
commit 8b186019d6
5 changed files with 93 additions and 4 deletions

16
.bumpversion.cfg Normal file
View File

@@ -0,0 +1,16 @@
[bumpversion]
commit = True
tag = True
current_version = 0.1
parse = (?P<major>\d+)\.(?P<minor>\d+)(\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?)?
serialize =
{major}.{minor}
[bumpversion:file:src/config.h]
search = VERSION "{current_version}"
replace = VERSION "{new_version}"
[bumpversion:file:PKGBUILD]
search = pkgver={current_version}
replace = pkgver={new_version}