Skip to content

Commit cdd734d

Browse files
committed
ci: fixup convco templates
1 parent a6d0454 commit cdd734d

File tree

3 files changed

+13
-17
lines changed

3 files changed

+13
-17
lines changed

.convco/template/commit.hbs

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
*
2-
{{~#if scope}} **{{scope}}:**
3-
{{~/if}}
4-
{{#if references}}
5-
{{~#each references}} {{#if @root.linkReferences~}}
6-
[{{this.prefix}}{{this.issue}}]({{issueUrlFormat}})
7-
{{~else}}{{this.prefix}}{{this.issue}}
8-
{{~/if}}{{/each}}
9-
{{~/if}}
10-
{{subject}}
11-
{{~#if hash}} {{#if @root.linkReferences}}([{{shortHash}}]({{commitUrlFormat}})){{else}}({{shortHash}})
12-
{{~/if}}
1+
{{#word-wrap}}
2+
*{{#if scope}} **{{scope}}:**{{/if}} {{subject}}
3+
{{~#if hash}} {{#if @root.linkReferences}}([{{shortHash}}]({{commitUrlFormat}})){{else}}({{shortHash}}){{/if}}{{/if}}
4+
{{~#if references}}, closes
5+
{{~#each references}} {{#if @root.linkReferences~}}
6+
[{{this.prefix}}{{this.issue}}]({{issueUrlFormat}})
7+
{{~else}}{{this.prefix}}{{this.issue}}
8+
{{~/if}}{{/each}}
139
{{~/if}}
1410

11+
{{/word-wrap}}

.convco/template/header.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
{{#if isPatch}}###{{else}}##{{/if}}{{#if @root.linkCompare}} [{{version}}]({{compareUrlFormat}}){{else}} {{version}}{{/if}}{{#if title}} "{{title}}"{{/if}}{{#if date}} ({{date}}){{/if}}
2+
{{#if isPatch}}###{{else}}##{{/if}}{{#if @root.linkCompare}} [{{version}}]({{compareUrlFormat}}){{else}} {{version}}{{/if}}{{#if title}} "{{title}}"{{/if}}{{#if date}} ({{date}}){{/if}}

.convco/template/template.hbs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{{> header}}
22
{{#if noteGroups}}{{#each noteGroups}}
33

4-
### ⚠ {{title}}
4+
### ⚠ {{title}}
55

6-
{{#each notes}}* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{#each text}}{{this}}
7-
{{~/each}}
6+
{{#each notes}}* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{this.text}}
87
{{/each}}
98
{{/each}}
109
{{/if}}
@@ -17,4 +16,4 @@
1716
{{#each commits}}
1817
{{> commit root=@root}}
1918
{{/each}}
20-
{{/each}}
19+
{{/each}}

0 commit comments

Comments
 (0)