hassio-nextcloud-backup/.github/changlog_template.hbs

68 lines
2.8 KiB
Handlebars

{{#each releases}}
{{#if @first}}
{{#if href}}
## [{{title}}]({{href}}){{#if tag}} - {{isoDate}}{{/if}}
{{else}}
## {{title}}{{#if tag}} - {{isoDate}}{{/if}}
{{/if}}
{{#commit-list commits heading='## 💥 Breaking changes' message=':boom:'}}
- {{subject}} [`{{shorthash}}`]({{href}}) {{setVar "fix" "true"}}
{{/commit-list}}
{{#unless @root.fix }}
{{#commit-list merges heading='## 💥 Breaking changes' message=':boom:'}}
- {{message}} [`{{id}}`]({{href}}) `{{author}}`
{{/commit-list}}
{{/unless}}
{{#if @root.fix }}
{{#commit-list merges heading='' message=':boom:'}}
- {{message}} [`{{id}}`]({{href}}) `{{author}}`
{{/commit-list}}
{{/if}}
{{#commit-list commits heading='## 🚑 Fixs' message=':ambulance:'}}
- {{subject}} [`{{shorthash}}`]({{href}}) {{setVar "fix" "true"}}
{{/commit-list}}
{{#unless @root.fix }}
{{#commit-list merges heading='## 🚑 Fixs' message=':ambulance:'}}
- {{message}} [`{{id}}`]({{href}}) `{{author}}`
{{/commit-list}}
{{/unless}}
{{#if @root.fix }}
{{#commit-list merges heading='' message=':ambulance:'}}
- {{message}} [`{{id}}`]({{href}}) `{{author}}`
{{/commit-list}}
{{/if}}
{{#commit-list commits heading='## ✏️ Other changes' exclude=':boom:|:ambulance:|:heavy_plus_sign:'}}
- {{subject}} [`{{shorthash}}`]({{href}}) {{setVar "change" "true"}}
{{/commit-list}}
{{#unless @root.change }}
{{#commit-list merges heading='## ✏️ Other changes' exclude=':boom:|:ambulance:|:heavy_plus_sign:'}}
- {{message}} [`{{id}}`]({{href}}) `{{author}}`
{{/commit-list}}
{{/unless}}
{{#if @root.change }}
{{#commit-list merges heading='' exclude=':boom:|:ambulance:|:heavy_plus_sign:'}}
- {{message}} [`{{id}}`]({{href}}) `{{author}}`
{{/commit-list}}
{{/if}}
{{#commit-list commits heading='## ⬆️ Dependency updates' message=':arrow_up:'}}
- {{subject}} [`{{shorthash}}`]({{href}}) {{setVar "dep" "true"}}
{{/commit-list}}
{{#unless @root.dep }}
{{#commit-list merges heading='## ⬆️ Dependency updates' message=':arrow_up:'}}
- {{message}} [`{{id}}`]({{href}}) `{{author}}`
{{/commit-list}}
{{/unless}}
{{#if @root.dep }}
{{#commit-list merges heading='' message=':arrow_up:'}}
- {{message}} [`{{id}}`]({{href}}) `{{author}}`
{{/commit-list}}
{{/if}}
{{/if}}
{{/each}}