-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
When I run release-it to publish my version to NPM and generate the changelog I only see one entry on the Changelog file, if I check the release summary I see all the PRs/commits that were commited in-between versions.
If i merge 5 PRs with different scopes and semantic commits I only see one in the changelog.
When I run git log <previous-tag>..<current-tag> --oneline I do see all the commits in the branch, what I see is that the only commit/PR merge added on the changelog is the last one in the list, not the previous ones.
This is my release-it.json file:
{
"$schema": "https://unpkg.com/release-it@18/schema/release-it.json",
"git": {
"commitMessage": "chore: release v${version} 🔖",
"requireBranch": "main"
},
"github": {
"release": true,
"releaseName": "v${version}",
"autoGenerate": true,
"tokenRef": "GITHUB_TOKEN",
"comments": {
"submit": true,
"issue": ":rocket: _This issue has been resolved in version ${version}. See [${releaseName}](${releaseUrl}) for release notes._",
"pr": ":rocket: _This pull request is included in version ${version}. See [${releaseName}](${releaseUrl}) for release notes._"
}
},
"npm": {
"publish": true,
"skipChecks": true,
"publishArgs": [
"--access=public"
]
},
"hooks": {
"before:bump": "bun .github/scripts/jsrSetup.ts --version=$(bun release:ci:version)"
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"header": "# Changelog",
"preset": {
"name": "conventionalcommits",
"types": [
{
"section": "🚀 New Features",
"type": "feat"
},
{
"section": "🐛 Bug Fixes",
"type": "fix"
},
{
"section": "📦 Miscellaneous tasks",
"type": "chore"
},
{
"section": "📝 Documentation",
"type": "docs"
},
{
"section": "💄 Code improvements",
"type": "style"
},
{
"section": "♻️ Refactors",
"type": "refactor"
},
{
"section": "🏎️ Performance upgrades",
"type": "perf"
},
{
"section": "🧪 Tests",
"type": "test"
},
{
"section": "⏪ Rollbacks",
"type": "revert"
}
]
}
}
}
}
This are the packages that I have installed for my process:
{
...
"devDependencies": {
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@release-it/conventional-changelog": "^10.0.0",
"@types/bun": "latest",
"husky": "^9.1.7",
"is-ci": "^4.1.0",
"release-it": "^18.1.2"
},
"peerDependencies": {
"typescript": "^5"
},
"overrides": {
"conventional-changelog-conventionalcommits": "8.0.0"
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels