mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-12-23 22:46:44 +01:00
✏️ Update changelog
This commit is contained in:
parent
570ab5183f
commit
48c399e833
59
.github/changlog_template.hbs
vendored
59
.github/changlog_template.hbs
vendored
@ -1,20 +1,65 @@
|
||||
{{#each releases}}
|
||||
{{#if @first}}
|
||||
{{#commit-list commits heading='## 🚑 Fixs' message=':ambulance:|fix|bugfix|bug'}}
|
||||
- {{subject}} [`{{shorthash}}`]({{href}})
|
||||
{{#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='## 🔨 Changes' message=':hammer:|:arrow_up:|:heavy_plus_sign:'}}
|
||||
- {{subject}} [`{{shorthash}}`]({{href}})
|
||||
|
||||
{{#commit-list commits heading='## 🔨 Changes' message=':hammer:|:heavy_plus_sign:'}}
|
||||
- {{subject}} [`{{shorthash}}`]({{href}}) {{setVar "change" "true"}}
|
||||
{{/commit-list}}
|
||||
{{#unless @root.change }}
|
||||
{{#commit-list merges heading='## 🔨 Changes' message=':hammer:|:heavy_plus_sign:'}}
|
||||
- {{message}} [`{{id}}`]({{href}}) `{{author}}`
|
||||
{{/commit-list}}
|
||||
{{/unless}}
|
||||
{{#if @root.change }}
|
||||
{{#commit-list merges heading='' message=':hammer:|:heavy_plus_sign:'}}
|
||||
- {{message}} [`{{id}}`]({{href}}) `{{author}}`
|
||||
{{/commit-list}}
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
{{#commit-list commits heading='## ✏ Enhancements' message=':pencil2:'}}
|
||||
- {{subject}} [`{{shorthash}}`]({{href}})
|
||||
- {{subject}} [`{{shorthash}}`]({{href}}) {{setVar "enhanc" "true"}}
|
||||
{{/commit-list}}
|
||||
{{#commit-list commits heading='## ⬆️ Dependency updates' message=':pencil2:'}}
|
||||
- {{subject}} [`{{shorthash}}`]({{href}})
|
||||
{{#unless @root.enhanc }}
|
||||
{{#commit-list merges heading='## ✏ Enhancements' message=':pencil2:'}}
|
||||
- {{message}} [`{{id}}`]({{href}}) `{{author}}`
|
||||
{{/commit-list}}
|
||||
{{/unless}}
|
||||
{{#if @root.enhanc }}
|
||||
{{#commit-list merges heading='' message=':pencil2:'}}
|
||||
- {{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}}
|
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