Skip to content
Snippets Groups Projects
Commit 76789c43 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Clobber version number for master/dev branch, and support said clobbering in

parseVersionString
parent e7f653c0
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ which roughly obeys the Semantic Versioning conventions (http://semver.org/): ...@@ -32,7 +32,7 @@ which roughly obeys the Semantic Versioning conventions (http://semver.org/):
import string import string
__version__ = '1.0.1' __version__ = 'dev'
"""Current version number, as a string. """ """Current version number, as a string. """
...@@ -44,6 +44,9 @@ def parseVersionString(versionString): ...@@ -44,6 +44,9 @@ def parseVersionString(versionString):
An error is raised if the ``versionString`` is invalid. An error is raised if the ``versionString`` is invalid.
""" """
if versionString == 'dev':
return 9999, 9999, 9999
components = versionString.split('.') components = versionString.split('.')
# Major, minor, and point # Major, minor, and point
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment