Closed ayZagen closed 1 month ago
Here is the output:
> cross-env GITHUB_TOKEN=$GITHUB_TOKEN release-it ✔ npm run lint ERROR whatBump is not a function ELIFECYCLE Command failed with exit code 1.
.release-it.json:
.release-it.json
{ "hooks": { "before:init": [ "npm run lint" ], "after:bump": [ "npm run build" ] }, "git": { "commitMessage": "chore: release v${version}", "requireCleanWorkingDir": true, "tagAnnotation": "Release v${version}", "tagName": "v${version}" }, "github": { "release": true, "draft": true, "releaseName": "v${version}" }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "conventionalcommits", "types": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "perf", "section": "Performance Updates" }, { "type": "a11y", "section": "Accessibility" }, { "type": "refactor", "section": "Refactors" }, { "type": "style", "section": "Stylistic Updates" } ] }, "infile": "CHANGELOG.md" } } }
and related packages:
{ "@commitlint/cli": "^19.5.0", "@commitlint/config-conventional": "^19.5.0", "@release-it/conventional-changelog": "^9.0.0", "release-it": "^17.9.0", }
Downgrading "@release-it/conventional-changelog" to 8.0.2 works
"@release-it/conventional-changelog"
8.0.2
Here is the output:
.release-it.json
:and related packages: