feat: add changelog to release (#11)
- closes #5 Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/11
This commit is contained in:
parent
e4af9c28af
commit
c2199f0640
4 changed files with 2910 additions and 1 deletions
18
tools/changelog.mjs
Normal file
18
tools/changelog.mjs
Normal file
|
@ -0,0 +1,18 @@
|
|||
import conventionalChangelogCore from 'conventional-changelog-core';
|
||||
import conventionalChangelogPreset from 'conventional-changelog-conventionalcommits';
|
||||
import fs from "node:fs"
|
||||
|
||||
const config = conventionalChangelogPreset();
|
||||
|
||||
const file = process.argv[3] ? fs.createWriteStream(process.argv[3]): process.stdout;
|
||||
|
||||
conventionalChangelogCore(
|
||||
{
|
||||
config,
|
||||
releaseCount: 2,
|
||||
},
|
||||
{ version: process.argv[2], linkCompare: false },
|
||||
undefined,
|
||||
undefined,
|
||||
{ headerPartial: '' }
|
||||
).pipe(file);
|
Loading…
Add table
Add a link
Reference in a new issue