We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72d82a2 commit c592753Copy full SHA for c592753
docs/update_switcher.py
@@ -26,7 +26,9 @@ def main():
26
for i, version in enumerate(switcher):
27
if version["version"] == "latest":
28
latest_index = i
29
- previous_version = re.search(r"latest \(([v.\d]+)\)", version["name"]).group(1)
+ previous_version = re.search(
30
+ r"latest \(([v.\d]+)\)", version["name"]
31
+ ).group(1)
32
if previous_version == args.version:
33
print(f"Version {args.version} already is the latest version. Exiting.")
34
return
0 commit comments