Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
76789c43
Commit
76789c43
authored
Jun 02, 2017
by
Paul McCarthy
🚵
Browse files
Clobber version number for master/dev branch, and support said clobbering in
parseVersionString
parent
e7f653c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsl/version.py
View file @
76789c43
...
...
@@ -32,7 +32,7 @@ which roughly obeys the Semantic Versioning conventions (http://semver.org/):
import
string
__version__
=
'
1.0.1
'
__version__
=
'
dev
'
"""Current version number, as a string. """
...
...
@@ -44,6 +44,9 @@ def parseVersionString(versionString):
An error is raised if the ``versionString`` is invalid.
"""
if
versionString
==
'dev'
:
return
9999
,
9999
,
9999
components
=
versionString
.
split
(
'.'
)
# Major, minor, and point
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment