Skip to content

Commit

Permalink
chore: Allow specifying version for changelog generator.
Browse files Browse the repository at this point in the history
  • Loading branch information
mturoci committed Mar 6, 2024
1 parent a4cc1c7 commit adac50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/changelog-generator/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const typesToChangelog = {
'!': 'Breaking Changes',
}

const version = process.env.VERSION || require('../../ui/package.json')
const version = process.env.VERSION || require('../../ui/package.json').version
const categorizedCommits = require('child_process')
.execSync(`git log v${version}..HEAD --oneline`)
.toString()
Expand Down

0 comments on commit adac50d

Please sign in to comment.