diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..efce9d7 --- /dev/null +++ b/.bumpversion.cfg @@ -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\d+)\.(?P\d+)\.(?P\d+)(?P-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\d+) +serialize = {major} +search = EVMC_ABI_VERSION = {current_version} +replace = EVMC_ABI_VERSION = {new_version} diff --git a/CMakeLists.txt b/CMakeLists.txt index 75e01d5..777c79b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)