Skip to content

Commit

Permalink
Fix version string handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
tharen committed Apr 26, 2017
1 parent 379cf2c commit 65f9d68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/pyfvs/_version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is automatically generated during packaging.
# The version is extracted from the current Git tag using setup.py version.

__version__ = '0.0.9'
__version__ = '0.0.10'
__status__ = 'alpha'
__git_tag__ = ''
__git_tag__ = 'pyfvs-v0.0.10-alpha-dirty'
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def update_version():
print('Current folder is not a Git repo, skipping version update.')
return

m = re.match('pyfvs-v(\d\.\d\.\d)-(alpha|beta)?-(.*)', desc)
m = re.match('pyfvs-v(\d+\.\d+\.\d+)-(alpha|beta)?-(.*)', desc)
if not m:
print('The current tag is not a version tag (pyfvs-v#.#.#): {}'.format(desc))
return
Expand Down

0 comments on commit 65f9d68

Please sign in to comment.