mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
fix: 🐛 修复官网更新日志的版本链接及 issue 链接异常的问题 (#10329)
Co-authored-by: cklwblove <lwbhtml@163.coom>
This commit is contained in:
parent
641088c0fc
commit
15a77eec13
@ -5,7 +5,31 @@
|
|||||||
{{~header}}
|
{{~header}}
|
||||||
{{~/if}}
|
{{~/if}}
|
||||||
{{#if references~}}
|
{{#if references~}}
|
||||||
{{~#each references}} [{{~this.repository}}#{{this.issue}}]({{~@root.repoUrl}}/{{~@root.issue}}/{{this.issue}}){{/each}}
|
{{~#each references}} [{{~this.repository}}#{{this.issue}}](
|
||||||
{{~else}} [{{shortHash}}]({{~@root.repoUrl}}/{{~@root.commit}}/{{hash}})
|
{{~#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}}
|
{{~/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}}`
|
`{{date}}`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user