Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR whatBump must be a function #107

Open
dipiash opened this issue Dec 13, 2024 · 2 comments
Open

ERROR whatBump must be a function #107

dipiash opened this issue Dec 13, 2024 · 2 comments

Comments

@dipiash
Copy link

dipiash commented Dec 13, 2024

Hi!

I have an issues with last version: 9.0.3:

ERROR `whatBump` must be a function

In package.json I have next deps:

"@release-it/bumper": "6.0.1",
"@release-it/conventional-changelog": "9.0.3",
"release-it": "17.10.0",
"@commitlint/cli": "19.6.0",
"@commitlint/config-conventional": "19.6.0",
"conventional-commits-parser": "6.0.0",

In a .release-it.json I have next config with option "whatBump": false,:

{
  "plugins": {
    "@release-it/conventional-changelog": {
      "whatBump": false,
      "header": "# Changelog",
      ...

but it's not help

@webpro
Copy link
Contributor

webpro commented Dec 23, 2024

There have been a few PR and fixes around whatBump recently. Please double-check the version numbers, perhaps remove the packages not directly used and re-install related packages. You could search for "whatBump" in the issues here, maybe it'll help.

@Jefiozie
Copy link

Hi @webpro , I'm seeing this issue occurring in the angular-split repo where I try to release a beta release.

angular-split/angular-split#483

I run release-it locally with a monorepo structure. I've tried several commands and updated the packages but I can't figure out what I'm doing wrong.

Could you maybe have a look and share your insights? I appreciate the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants