From 464e226f53381b56e638e0ea3f0a5d34a4066d7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Wed, 19 Jun 2019 19:42:53 +0200 Subject: [PATCH] Change versioning scheme from -dev to -alpha.X This allows making versioned snapshots as "alpha.X" pre-release versions. --- .bumpversion.cfg | 10 +++++----- CMakeLists.txt | 2 +- bindings/rust/evmc-declare-tests/Cargo.toml | 2 +- bindings/rust/evmc-declare/Cargo.toml | 2 +- bindings/rust/evmc-sys/Cargo.toml | 2 +- bindings/rust/evmc-vm/Cargo.toml | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 61464a2..5aae892 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 6.3.0-dev +current_version = 6.3.0-alpha.0 tag = True sign_tags = True tag_message = EVMC {new_version} @@ -7,15 +7,15 @@ 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} +parse = (?P\d+)\.(?P\d+)\.(?P\d+)(-(?Prc|alpha)\.(?P\d+))? +serialize = + {major}.{minor}.{patch}-{prerel}.{prerelver} {major}.{minor}.{patch} [bumpversion:part:prerel] optional_value = rel values = - -dev + alpha rel [bumpversion:file:CMakeLists.txt] diff --git a/CMakeLists.txt b/CMakeLists.txt index f90b78b..3c5a585 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ cable_configure_toolchain(DEFAULT cxx11-pic) cable_set_build_type(DEFAULT Release CONFIGURATION_TYPES Debug Release) project(evmc) -set(PROJECT_VERSION 6.3.0-dev) +set(PROJECT_VERSION 6.3.0-alpha.0) cable_configure_compiler(NO_STACK_PROTECTION) diff --git a/bindings/rust/evmc-declare-tests/Cargo.toml b/bindings/rust/evmc-declare-tests/Cargo.toml index 9087a3d..6bb7d18 100644 --- a/bindings/rust/evmc-declare-tests/Cargo.toml +++ b/bindings/rust/evmc-declare-tests/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "evmc-declare-tests" -version = "6.3.0-dev" +version = "6.3.0-alpha.0" authors = ["Jake Lang "] license = "Apache-2.0" repository = "https://github.com/ethereum/evmc" diff --git a/bindings/rust/evmc-declare/Cargo.toml b/bindings/rust/evmc-declare/Cargo.toml index 859c2df..82c30dd 100644 --- a/bindings/rust/evmc-declare/Cargo.toml +++ b/bindings/rust/evmc-declare/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "evmc-declare" -version = "6.3.0-dev" +version = "6.3.0-alpha.0" authors = ["Jake Lang "] license = "Apache-2.0" repository = "https://github.com/ethereum/evmc" diff --git a/bindings/rust/evmc-sys/Cargo.toml b/bindings/rust/evmc-sys/Cargo.toml index 269cf5c..9e693df 100644 --- a/bindings/rust/evmc-sys/Cargo.toml +++ b/bindings/rust/evmc-sys/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "evmc-sys" -version = "6.3.0-dev" +version = "6.3.0-alpha.0" authors = ["Alex Beregszaszi "] license = "Apache-2.0" repository = "https://github.com/ethereum/evmc" diff --git a/bindings/rust/evmc-vm/Cargo.toml b/bindings/rust/evmc-vm/Cargo.toml index 5f8ac3f..d1d23ab 100644 --- a/bindings/rust/evmc-vm/Cargo.toml +++ b/bindings/rust/evmc-vm/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "evmc-vm" -version = "6.3.0-dev" +version = "6.3.0-alpha.0" authors = ["Alex Beregszaszi ", "Jake Lang "] license = "Apache-2.0" repository = "https://github.com/ethereum/evmc"