Skip to content

Commit

Permalink
Fix PR link in git-cliff-release (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbuchar authored Oct 23, 2024
1 parent 2d229da commit 431f84d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-cliff-release/enhance_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def enhance_commit(commit: dict[str, Any], pr_issues: dict[int, list[int]]) -> N
if pr_number:
commit["extra"]["closed_issues"] = pr_issues.get(pr_number, [])

pr_link = f"{repo_url}/pulls/{pr_number}"
pr_link = f"{repo_url}/pull/{pr_number}"
commit["extra"]["pr_link"] = f"([#{pr_number}]({pr_link}))"
commit["extra"]["raw_pr_link"] = f"(#{pr_number})"

Expand Down

0 comments on commit 431f84d

Please sign in to comment.