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
manifest-rules
Commits
a4aab86c
Commit
a4aab86c
authored
Oct 05, 2021
by
Paul McCarthy
🚵
Browse files
BF: Wrong file name used for release manifest if NO_PAST_RELEASES set
parent
4f554fc4
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifest_rules/__init__.py
View file @
a4aab86c
#!/usr/bin/env python
__version__
=
'0.4.
9
'
__version__
=
'0.4.
10
'
manifest_rules/generate_manifest_file.py
View file @
a4aab86c
...
...
@@ -222,12 +222,14 @@ def main():
# for development releases
add_current_release
=
(
version
is
not
None
)
or
(
not
official
)
# The "official" variable controls whether the
# manifest should include info about past releases
# (which is done by downloading the current official
# release manifest). This can be overridden by
# The "official" variable controls whether we
# are generating the official "manifest.json",
# which typically includes information about
# past official FSL releases (which is done by
# downloading the currently available official
# release manifest). This can be overridden by
# setting the NO_PAST_RELEASES variable.
official
=
official
and
(
'NO_PAST_RELEASES'
not
in
os
.
environ
)
add_past_releases
=
official
and
(
'NO_PAST_RELEASES'
not
in
os
.
environ
)
# Generate dev version identnfier
if
version
is
None
:
...
...
@@ -244,7 +246,7 @@ def main():
'miniconda'
:
generate_miniconda_section
(
release_info
,
install_info
),
'versions'
:
generate_version_section
(
version
,
add_current_release
,
official
,
add_past_releases
,
envdir
,
release_info
,
install_info
),
...
...
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