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

BF: Wrong file name used for release manifest if NO_PAST_RELEASES set

parent 4f554fc4
#!/usr/bin/env python
__version__ = '0.4.9'
__version__ = '0.4.10'
......@@ -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),
......
Markdown is supported
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