Skip to content

Commit

Permalink
Mark version 5.0.0-dev and add bumpversion config
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Aug 10, 2018
1 parent ee4bcd9 commit 46ca02b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -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}
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 46ca02b

Please sign in to comment.