Commit bdfc1a1c authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Merge branch 'rf/devrelease-parsing' into 'master'

Rf/devrelease parsing

See merge request fsl/conda/installer!37
parents 1ee27ec9 baaf003c
# FSL installer script release history
# 1.10.1
- Small adjustment to how the `devreleases.txt` file is parsed.
# 1.10.0
- New hidden `--devrelease` and `--devlatest` options, for installing
development releases.
# 1.9.0
- Removed/disabled the `--update` option, for updating an existing FSL
......
......@@ -54,7 +54,7 @@ log = logging.getLogger(__name__)
__absfile__ = op.abspath(__file__).rstrip('c')
__version__ = '1.10.0'
__version__ = '1.10.1'
"""Installer script version number. This must be updated
whenever a new version of the installer script is released.
"""
......@@ -386,7 +386,7 @@ class Context(object):
'list from {}!'.format(FSL_DEV_RELEASES))
with open('devreleases.txt', 'rt') as f:
urls = f.readlines()
urls = f.read().strip().split('\n')
urls = [l.strip() for l in urls]
for url in urls:
......
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