-
-
Notifications
You must be signed in to change notification settings - Fork 297
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 7 replies
-
cz bump
has not been changed. What happens when you update to the latest version and run cz bump --help
?
Beta Was this translation helpful? Give feedback.
All reactions
-
cz is getting installed properly while image is being build but still it is giving same error.
Beta Was this translation helpful? Give feedback.
All reactions
-
and which version is being installed? You may need to provide a bit more context to help.
- Which CI are you using?
- Which OS are you using?
- Are you using any of the provided docker images or installing from
pip
inside your container? - How are you installing it if using
pip
?
I just installed the latest version and cz --help
shows bump
Beta Was this translation helpful? Give feedback.
All reactions
-
- I am using Gitlab with Kubernates executer
- Using Kubernetes executor with custom docker image
- installing using pip inside virtual env with the help of command
pip3 install commitizen
Beta Was this translation helpful? Give feedback.
All reactions
-
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
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
Beta Was this translation helpful? Give feedback.