build: fix changelog generation

This commit is contained in:
Michael Kriese 2024-09-12 08:31:14 +02:00
parent 5cfed911ae
commit b6f42b2f45
No known key found for this signature in database
GPG key ID: F8D7748549A5986A
3 changed files with 6 additions and 65 deletions

View file

@ -56,11 +56,11 @@ export const config = conventionalChangelogPreset({
/**
*
* @param {string} version
* @param {boolean} onTag
* @param {string|undefined} version
* @param {boolean|undefined} onTag
* @returns
*/
export function getChangelog(version, onTag) {
export function getChangelog(version = undefined, onTag = false) {
return conventionalChangelogCore(
{
config,