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 #!/usr/bin/env python
__version__ = '0.4.9' __version__ = '0.4.10'
...@@ -222,12 +222,14 @@ def main(): ...@@ -222,12 +222,14 @@ def main():
# for development releases # for development releases
add_current_release = (version is not None) or (not official) add_current_release = (version is not None) or (not official)
# The "official" variable controls whether the # The "official" variable controls whether we
# manifest should include info about past releases # are generating the official "manifest.json",
# (which is done by downloading the current official # which typically includes information about
# release manifest). This can be overridden by # 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. # 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 # Generate dev version identnfier
if version is None: if version is None:
...@@ -244,7 +246,7 @@ def main(): ...@@ -244,7 +246,7 @@ def main():
'miniconda' : generate_miniconda_section(release_info, install_info), 'miniconda' : generate_miniconda_section(release_info, install_info),
'versions' : generate_version_section(version, 'versions' : generate_version_section(version,
add_current_release, add_current_release,
official, add_past_releases,
envdir, envdir,
release_info, release_info,
install_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