diff --git a/scripts/linkify_changelog.py b/scripts/linkify_changelog.py index 867ae14..f6a7492 100644 --- a/scripts/linkify_changelog.py +++ b/scripts/linkify_changelog.py @@ -26,6 +26,6 @@ repo_name = components[-2] for line in fileinput.input(inplace=True): - line = re.sub(r"\- #([0-9]*)", r"- [\\#\1](https://github.com/arkworks-rs/" + repo_name + r"/pull/\1)", line.rstrip()) + line = re.sub(r"\- #([0-9]+)", r"- [#\1](https://github.com/arkworks-rs/" + repo_name + r"/pull/\1)", line.rstrip()) # edits the current file - print(line) \ No newline at end of file + print(line)