Skip to content

Commit

Permalink
Version fix for bumpversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenoak committed Mar 25, 2019
1 parent 6b1e262 commit 8153684
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
copyright = '2019, Caitlyn O\'Hanna'
author = 'Caitlyn O\'Hanna'

# The short X.Y version
version = '0.0'
# The full version, including alpha/beta/rc tags
release = '0.0.0a0.dev0'
release = '0.0.0'
# The short X.Y version
version = '.'.join(release.split('.')[:2])

# -- General configuration ---------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ python_requires = ~= 3.6
[bumpversion]
commit = True
tag = True
current_version = 0.0.0a0.dev0
current_version = 0.0.0
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<micro>\d+)((?P<pre_release>a|b|rc)(?P<pre_release_num>\d+))?(\.dev(?P<dev_num>\d+))?
serialize =
{major}.{minor}.{micro}{pre_release}{pre_release_num}.dev{dev_num}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import find_packages, setup

PROJECT_NAME = 'Flask-arango-orm'
PROJECT_RELEASE = '0.0.0a0.dev0'
PROJECT_RELEASE = '0.0.0'
PROJECT_VERSION = '.'.join(PROJECT_RELEASE.split('.')[:2])
INSTALL_REQUIRES = [
'arango-orm',
Expand Down

0 comments on commit 8153684

Please sign in to comment.