Commit 9cfcd969 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Merge branch 'bf/release-manifest-filename' into 'master'

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

See merge request fsl/conda/manifest-rules!26
parents 4f554fc4 a4aab86c
#!/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
# 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,
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