Skip to content

Commit

Permalink
[brief] Fixes the generate_versions script.
Browse files Browse the repository at this point in the history
[detailed]
- Shouldn't have added the extra "v".
  • Loading branch information
marovira committed Jun 26, 2024
1 parent 5e7aaab commit 967b7af
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/scripts/generate_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
repo_dir = script_path.parent.parent.parent.parent
deps_path = repo_dir / "dependencies.txt"
home = pathlib.Path.home()
uses_v = ["catch"]

with deps_path.open("r", encoding="utf-8") as infile:
lines = infile.readlines()
Expand All @@ -16,10 +15,6 @@
elems = line.split("==")
name = elems[0].lower()
version = elems[1]
for n in uses_v:
if n in name:
version = "v" + version
break

out_file = home / f"{name}.txt"
with out_file.open("w+", encoding="utf-8") as outfile:
Expand Down

0 comments on commit 967b7af

Please sign in to comment.