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
conda
installer
Commits
5b47a4f8
Commit
5b47a4f8
authored
Jul 30, 2021
by
Paul McCarthy
🚵
Browse files
Merge branch 'bf/typo' into 'master'
BF: typo in manifest URL See merge request fsl/conda/installer!4
parents
115f6adc
ecd55961
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
5b47a4f8
...
...
@@ -13,6 +13,14 @@ stages:
-
test
-
release
# Only run pipeline on master branch, tags, and MRs
workflow
:
rules
:
-
if
:
'
$CI_COMMIT_TAG
!=
null'
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
-
if
:
'
$CI_MERGE_REQUEST_ID
!=
null'
-
when
:
never
# These variables should be set as CI/CD variables in
# the fsl/conda/installer project via the GitLab UI.
...
...
fslinstaller.py
View file @
5b47a4f8
...
...
@@ -62,7 +62,7 @@ DEFAULT_INSTALLATION_DIRECTORY = '/usr/local/fsl'
"""Default FSL installation directory. """
FSL_INSTALLER_MANIFEST
=
'http://18.133.213.73/releases/manifest
,
json'
FSL_INSTALLER_MANIFEST
=
'http://18.133.213.73/releases/manifest
.
json'
"""URL to download the FSL installer manifest file from. The installer
manifest file is a JSON file which contains information about available FSL
versions.
...
...
@@ -230,7 +230,7 @@ class Context(object):
if
fslversion
not
in
self
.
manifest
[
'versions'
]:
available
=
', '
.
join
(
self
.
manifest
[
'versions'
].
keys
())
raise
Exception
(
'FSL version {} is not available - available '
'FSL version
"
{}
"
is not available - available '
'versions: {}'
.
format
(
fslversion
,
available
))
if
fslversion
==
'latest'
:
...
...
Write
Preview
Markdown
is supported
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