Skip to content

Commit

Permalink
ci: update convco templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Apr 23, 2024
1 parent 54bba9e commit a2876e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions .convco/template/commit.hbs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
* {{#if scope}} **{{scope}}:**
*
{{~#if scope}} **{{scope}}:**
{{~/if}}
{{#if references}}
{{~#each references}} {{#if @root.linkReferences~}}
[{{this.prefix}}{{this.issue}}]({{issueUrlFormat}})
{{~else}}{{this.prefix}}{{this.issue}}
{{~/if}}{{/each}}
{{~#each references}} {{#if @root.linkReferences~}}
[{{this.prefix}}{{this.issue}}]({{issueUrlFormat}})
{{~else}}{{this.prefix}}{{this.issue}}
{{~/if}}{{/each}}
{{~/if}}
{{subject}}
{{subject}}
{{~#if hash}} {{#if @root.linkReferences}}([{{shortHash}}]({{commitUrlFormat}})){{else}}({{hash}})
{{~/if}}
{{~/if}}
Expand Down
4 changes: 2 additions & 2 deletions .convco/template/template.hbs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{> header}}
{{#if noteGroups}}{{#each noteGroups}}

## ⚠ {{title}}
## ⚠ {{title}}

{{#each notes}} * {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{this.text}}
{{#each notes}}* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{this.text}}
{{/each}}
{{/each}}
{{/if}}
Expand Down

0 comments on commit a2876e0

Please sign in to comment.