Skip to content

Commit

Permalink
feat(changelog): 修改md文案
Browse files Browse the repository at this point in the history
  • Loading branch information
mmdapl committed Jul 14, 2024
1 parent 35ec416 commit a2793cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/changelog/src/core/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ export async function generateMarkdown(commits: Commit[], options: ResolvedChang
}

if (!lines.length) {
lines.push('\n**无重要变更**')
lines.push('\n**No significant changes**')
}
else {
const url = `https://${options.baseUrl}/${options.repo}/compare/${options.from}...${options.to}`
// 添加版本
lines.push(`\n**Release New Version v${options.to} [👉 see more](${url})**`)
lines.push(`\n**Release New Version v${options.to} [👉 View changes on GitHub](${url})**`)
}

return convert(lines.join('\n').trim(), true)
Expand Down

0 comments on commit a2793cf

Please sign in to comment.