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 9cc0e9b commit 4974cb2Copy full SHA for 4974cb2
scripts/changelog.ts
@@ -63,7 +63,7 @@ const changelogFunctions = {
63
const shortCommitId = commitFromSummary.slice(0, 7)
64
links = {
65
...links,
66
- commit: shortCommitId,
+ commit: `[\`${shortCommitId}\`](https://github.com/${options.repo}/commit/${shortCommitId})`,
67
}
68
69
return links
@@ -104,7 +104,7 @@ const changelogFunctions = {
104
links.commit === null ? "" : ` ${links.commit}`,
105
].join("")
106
107
- return `- ${annotation} ${firstLine.replace(" ", " ")}${
+ return `- ${annotation} ${firstLine}${
108
prefix ? ` ${prefix}` : ""
109
}\n${futureLines
110
.map((l) => ` ${l.replace(" ", " ")}`)
0 commit comments