✏️ Add release-it and auto-changelog config

This commit is contained in:
Sebastien Clement 2020-08-26 16:44:29 +02:00
parent 7e996b4bb8
commit d8485611d9
3 changed files with 33 additions and 0 deletions

6
.auto-changelog Normal file
View File

@ -0,0 +1,6 @@
{
"output": "stdout",
"template": ".github/changlog_template.hbs",
"unreleased": true,
"commitLimit": false
}

16
.github/changlog_template.hbs vendored Normal file
View File

@ -0,0 +1,16 @@
{{#each releases}}
{{#if @first}}
{{#commit-list commits heading='## 🔨 Changes' message=':hammer:|:arrow_up:|:heavy_plus_sign:'}}
- {{subject}} [`{{shorthash}}`]({{href}})
{{/commit-list}}
{{#commit-list commits heading='## ✏ Enhancements' message=':pencil2:'}}
- {{subject}} [`{{shorthash}}`]({{href}})
{{/commit-list}}
{{#commit-list commits heading='## 🚑 Fixs' message=':ambulance:|fix|bugfix|bug'}}
- {{subject}} [`{{shorthash}}`]({{href}})
{{/commit-list}}
{{/if}}
{{/each}}

11
.release-it.yml Normal file
View File

@ -0,0 +1,11 @@
github:
release: true
draft: true
releaseName: "V${version}"
git:
changelog: "auto-changelog --stdout"
push: false
tag: false
commit: false