mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
fix: 🐛 修复官网更新日志的版本链接及 issue 链接异常的问题 (#10329)
Co-authored-by: cklwblove <lwbhtml@163.coom>
This commit is contained in:
@@ -5,7 +5,31 @@
|
||||
{{~header}}
|
||||
{{~/if}}
|
||||
{{#if references~}}
|
||||
{{~#each references}} [{{~this.repository}}#{{this.issue}}]({{~@root.repoUrl}}/{{~@root.issue}}/{{this.issue}}){{/each}}
|
||||
{{~else}} [{{shortHash}}]({{~@root.repoUrl}}/{{~@root.commit}}/{{hash}})
|
||||
{{~#each references}} [{{~this.repository}}#{{this.issue}}](
|
||||
{{~#if @root.repository}}
|
||||
{{~#if @root.host}}
|
||||
{{~@root.host}}/
|
||||
{{~/if}}
|
||||
{{~#if @root.owner}}
|
||||
{{~@root.owner}}/
|
||||
{{~/if}}
|
||||
{{~@root.repository}}
|
||||
{{~else}}
|
||||
{{~@root.repoUrl}}
|
||||
{{~/if}}
|
||||
/{{~@root.issue}}/{{this.issue}}){{/each}}
|
||||
{{~else}} [{{shortHash}}](
|
||||
{{~#if @root.repository}}
|
||||
{{~#if @root.host}}
|
||||
{{~@root.host}}/
|
||||
{{~/if}}
|
||||
{{~#if @root.owner}}
|
||||
{{~@root.owner}}/
|
||||
{{~/if}}
|
||||
{{~@root.repository}}
|
||||
{{~else}}
|
||||
{{~@root.repoUrl}}
|
||||
{{~/if}}
|
||||
/{{~@root.commit}}/{{hash}})
|
||||
{{~/if}}
|
||||
|
||||
|
@@ -1,3 +1,15 @@
|
||||
### [v{{version}}]({{~@root.repoUrl}}/compare/{{previousTag}}...{{currentTag}})
|
||||
### [v{{version}}](
|
||||
{{~#if @root.repository}}
|
||||
{{~#if @root.host}}
|
||||
{{~@root.host}}/
|
||||
{{~/if}}
|
||||
{{~#if @root.owner}}
|
||||
{{~@root.owner}}/
|
||||
{{~/if}}
|
||||
{{~@root.repository}}
|
||||
{{~else}}
|
||||
{{~@root.repoUrl}}
|
||||
{{~/if}}
|
||||
/compare/{{previousTag}}...{{currentTag}})
|
||||
|
||||
`{{date}}`
|
||||
|
Reference in New Issue
Block a user