Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Getting error while we try to run cz command "cz bump", it was working fine till few days back. #756

Unanswered
max-codex asked this question in Q&A
Discussion options

Hi All,
I am getting below error while running cz bump command

usage: cz [-h] [--debug] [-n NAME] [--version] {ls,commit,c,example,info,schema} ... cz: error: invalid choice: 'bump' (choose from 'ls', 'commit', 'c', 'example', 'info', 'schema')

Do we have any such change which can prohibit us running cz bump command?
It was working fine earlier. If we have any change then what we need to do instead of this command to increment the version number. Please help me.

You must be logged in to vote

Replies: 1 comment 7 replies

Comment options

cz bump has not been changed. What happens when you update to the latest version and run cz bump --help?

You must be logged in to vote
7 replies
Comment options

cz is getting installed properly while image is being build but still it is giving same error.

Comment options

woile Jun 5, 2023
Maintainer

and which version is being installed? You may need to provide a bit more context to help.

  1. Which CI are you using?
  2. Which OS are you using?
  3. Are you using any of the provided docker images or installing from pip inside your container?
  4. How are you installing it if using pip?

I just installed the latest version and cz --help shows bump

Comment options

  1. I am using Gitlab with Kubernates executer
  2. Using Kubernetes executor with custom docker image
  3. installing using pip inside virtual env with the help of command pip3 install commitizen
Comment options

woile Jun 6, 2023
Maintainer

Mmm I'm really not sure, then. What you are using seems standard, and there shouldn't be any issue. Without a way to debug it properly there's not much more I can help with.

Some thoughts:

  • try to run it locally, and see if the issue persists
  • check the version with cz version (locally and in the docker image)
  • try publish a new image to the docker registry
Comment options

For now, I got it fixed by reverting to older python image. cz seems to have issues with the newly created image only. I am debugging it further for the root cause. thanks everyone for help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /