Commit a6d49d60 authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

fix versioning better

parent a997ad0f
[bumpversion]
current_version = 0.4.0-rc4
current_version = 0.4.0rc4
commit = False
tag = False
parse = (?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(-(?P<prerel>[abc]|rc|dev)(?P<prerelversion>\d+))?
serialize =
{major}.{minor}.{patch}-{prerel}{prerelversion}
{major}.{minor}.{patch}-{prerel}
parse = (?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)((?P<prerel>[abc]|rc|dev)(?P<prerelversion>\d+))?
serialize =
{major}.{minor}.{patch}{prerel}{prerelversion}
{major}.{minor}.{patch}{prerel}
{major}.{minor}.{patch}
[bumpversion:file:VERSION]
......@@ -14,7 +14,7 @@ serialize =
[bumpversion:part:prerel]
optional_value = d
values =
values =
dev
a
b
......
0.4.0-rc4
\ No newline at end of file
0.4.0rc4
\ No newline at end of file
......@@ -11,8 +11,6 @@ import os
from setuptools import setup, find_packages, findall
from setuptools.command.install import install
import pkg_resources
pkg_resources.extern.packaging.version.Version = pkg_resources.SetuptoolsLegacyVersion
class TowerInstall(install):
"""
......
......@@ -55,7 +55,7 @@ var desktop = {
{
id: "version",
icon: "info",
value: "Version: 0.4.0-rc4"
value: "Version: 0.4.0rc4"
}
]
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment