build: fix changelog generation
This commit is contained in:
parent
5cfed911ae
commit
b6f42b2f45
3 changed files with 6 additions and 65 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue