Merge pull request #4594 from Neradoc/patch-1
fix removing past releases from circuitpython.org
This commit is contained in:
commit
2a78a5154f
@ -266,7 +266,7 @@ def generate_download_info():
|
|||||||
# Delete the release we are replacing
|
# Delete the release we are replacing
|
||||||
for board in current_info:
|
for board in current_info:
|
||||||
info = current_info[board]
|
info = current_info[board]
|
||||||
for version in info["versions"]:
|
for version in list(info["versions"]):
|
||||||
previous_releases.add(version["version"])
|
previous_releases.add(version["version"])
|
||||||
previous_languages.update(version["languages"])
|
previous_languages.update(version["languages"])
|
||||||
if version["stable"] == new_stable or (
|
if version["stable"] == new_stable or (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user