fix removing past releases from circuitpython.org
When releasing a new stable, unstable releases would be left in because the past stable was removed.
This commit is contained in:
parent
c333acdbad
commit
b8d55d6dbf
@ -266,7 +266,7 @@ def generate_download_info():
|
||||
# Delete the release we are replacing
|
||||
for board in current_info:
|
||||
info = current_info[board]
|
||||
for version in info["versions"]:
|
||||
for version in list(info["versions"]):
|
||||
previous_releases.add(version["version"])
|
||||
previous_languages.update(version["languages"])
|
||||
if version["stable"] == new_stable or (
|
||||
|
Loading…
Reference in New Issue
Block a user