✏️ Add release-it config

This commit is contained in:
Sebastien Clement 2020-11-23 12:25:31 +01:00
parent c25d502692
commit 37e172d8af
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: "${version}"
git:
changelog: "auto-changelog --stdout"
push: false
tag: false
commit: false