Skip to content

Commit 048b741

Browse files
committed
🐛 Fix issue with the readme reading the normalized version instead of the tag
1 parent 92a9cd5 commit 048b741

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ def register(pkg_name, version, author, short_desc, homepage):
8989
template = temp_file.read()
9090

9191
template = template.replace("_package_name", pkg_name)
92-
template = template.replace("_version", norm_version)
92+
template = template.replace("_norm_version", norm_version)
93+
template = template.replace("_version", version)
9394
template = template.replace("_link", f"{link}#egg={norm_pkg_name}-{norm_version}")
9495
template = template.replace("_homepage", homepage)
9596
template = template.replace("_author", author)

0 commit comments

Comments
 (0)