Mark version 5.0.0-dev and add bumpversion config

This commit is contained in:
Paweł Bylica 2018-08-10 10:50:24 +02:00
parent ee4bcd9e32
commit 46ca02b529
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
2 changed files with 26 additions and 1 deletions

25
.bumpversion.cfg Normal file
View File

@ -0,0 +1,25 @@
[bumpversion]
current_version = 5.0.0-dev
tag = False
commit = True
message = EVMC {new_version}
Bump version: {current_version} → {new_version}
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?P<prerel>-dev)?
serialize =
{major}.{minor}.{patch}{prerel}
{major}.{minor}.{patch}
[bumpversion:part:prerel]
optional_value = rel
values =
-dev
rel
[bumpversion:file:CMakeLists.txt]
[bumpversion:file:include/evmc/evmc.h]
parse = EVMC_ABI_VERSION = (?P<major>\d+)
serialize = {major}
search = EVMC_ABI_VERSION = {current_version}
replace = EVMC_ABI_VERSION = {new_version}

View File

@ -24,7 +24,7 @@ include(defaults/HunterCacheServers)
include(HunterConfig)
project(evmc)
set(PROJECT_VERSION "0.1.0.dev0")
set(PROJECT_VERSION 5.0.0-dev)
cable_set_build_type(DEFAULT Release CONFIGURATION_TYPES Debug Release)