Skip to content

Commit

Permalink
Change version format to 0.4.0-alpha.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Dec 4, 2018
1 parent 48a20ff commit c5b9944
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[bumpversion]
current_version = 0.4.0.dev0
current_version = 0.4.0-alpha.0
tag = True
commit = True
message = Release ethash {new_version}
message = ethash {new_version}

Bump version: {current_version} → {new_version}
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<prerel>rc|\.dev)(?P<prerelver>\d+))?
serialize =
{major}.{minor}.{patch}{prerel}{prerelver}
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<prerel>rc|alpha)\.(?P<prerelver>\d+))?
serialize =
{major}.{minor}.{patch}-{prerel}.{prerelver}
{major}.{minor}.{patch}

[bumpversion:part:prerel]
optional_value = rel
values =
.dev
values =
alpha
rc
rel

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ HunterGate(
)

project(ethash)
set(PROJECT_VERSION 0.4.0.dev0)
set(PROJECT_VERSION 0.4.0-alpha.0)

cable_set_build_type(DEFAULT Release CONFIGURATION_TYPES Release RelWithDebInfo Debug)

Expand Down

0 comments on commit c5b9944

Please sign in to comment.