mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-05 00:52:59 +01:00
✏️ Fix changelog
This commit is contained in:
parent
b89dee4aa8
commit
32296d898f
49
.github/changlog_template.hbs
vendored
49
.github/changlog_template.hbs
vendored
@ -1,20 +1,69 @@
|
||||
{{#each releases}}
|
||||
{{#if @first}}
|
||||
{{#commit-list commits heading='## 🚑 Fixs' message=':ambulance:|fix|bugfix|bug'}}
|
||||
{{setVar "fix" "true"}}
|
||||
- {{subject}} [`{{shorthash}}`]({{href}})
|
||||
{{/commit-list}}
|
||||
{{#unless @root.fix }}
|
||||
{{#commit-list merges heading='## 🚑 Fixs' message=':ambulance:|fix|bugfix|bug'}}
|
||||
- {{message}} [`{{id}}`]({{href}})
|
||||
{{/commit-list}}
|
||||
{{/unless}}
|
||||
{{#if @root.fix }}
|
||||
{{#commit-list merges heading='' message=':ambulance:|fix|bugfix|bug'}}
|
||||
- {{message}} [`{{id}}`]({{href}})
|
||||
{{/commit-list}}
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
{{#commit-list commits heading='## 🔨 Changes' message=':hammer:|:arrow_up:|:heavy_plus_sign:'}}
|
||||
{{setVar "change" "true"}}
|
||||
- {{subject}} [`{{shorthash}}`]({{href}})
|
||||
{{/commit-list}}
|
||||
{{#unless @root.change }}
|
||||
{{#commit-list merges heading='## 🔨 Changes' message=':hammer:|:arrow_up:|:heavy_plus_sign:'}}
|
||||
- {{message}} [`{{id}}`]({{href}})
|
||||
{{/commit-list}}
|
||||
{{/unless}}
|
||||
{{#if @root.change }}
|
||||
{{#commit-list merges heading='' message=':hammer:|:arrow_up:|:heavy_plus_sign:'}}
|
||||
- {{message}} [`{{id}}`]({{href}})
|
||||
{{/commit-list}}
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
{{#commit-list commits heading='## ✏ Enhancements' message=':pencil2:'}}
|
||||
{{setVar "enhanc" "true"}}
|
||||
- {{subject}} [`{{shorthash}}`]({{href}})
|
||||
{{/commit-list}}
|
||||
{{#unless @root.enhanc }}
|
||||
{{#commit-list merges heading='## ✏ Enhancements' message=':pencil2:'}}
|
||||
- {{message}} [`{{id}}`]({{href}})
|
||||
{{/commit-list}}
|
||||
{{/unless}}
|
||||
{{#if @root.enhanc }}
|
||||
{{#commit-list merges heading='' message=':pencil2:'}}
|
||||
- {{message}} [`{{id}}`]({{href}})
|
||||
{{/commit-list}}
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
{{#commit-list commits heading='## ⬆️ Dependency updates' message=':arrow_up:'}}
|
||||
{{setVar "dep" "true"}}
|
||||
- {{subject}} [`{{shorthash}}`]({{href}})
|
||||
{{/commit-list}}
|
||||
{{#unless @root.dep }}
|
||||
{{#commit-list merges heading='## ⬆️ Dependency updates' message=':arrow_up:'}}
|
||||
- {{message}} [`{{id}}`]({{href}})
|
||||
{{/commit-list}}
|
||||
{{/unless}}
|
||||
{{#if @root.dep }}
|
||||
{{#commit-list merges heading='' message=':arrow_up:'}}
|
||||
- {{message}} [`{{id}}`]({{href}})
|
||||
{{/commit-list}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/each}}
|
5
.github/custom-handlebars.js
vendored
Normal file
5
.github/custom-handlebars.js
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
module.exports = function (Handlebars) {
|
||||
Handlebars.registerHelper("setVar", function(varName, varValue, options) {
|
||||
options.data.root[varName] = varValue;
|
||||
});
|
||||
}
|
@ -5,7 +5,7 @@ github:
|
||||
|
||||
|
||||
git:
|
||||
changelog: "auto-changelog --stdout"
|
||||
changelog: "auto-changelog --stdout --handlebars-setup .github/custom-handlebars.js"
|
||||
push: false
|
||||
tag: false
|
||||
commit: false
|
||||
|
Loading…
Reference in New Issue
Block a user