Commit 64c54eae authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

MNT: Hook to disable downloading manifest for past releases

parent cf53e1b3
......@@ -222,6 +222,13 @@ 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
# setting the NO_PAST_RELEASES variable.
official = official and ('NO_PAST_RELEASES' not in os.environ)
# Generate dev version identnfier
if version is None:
version = generate_development_version_identifier()
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