You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea of this ticket is to track the "graduation" of cz version --project into a powerful command, capable of fetching information about the project.
This includes:
Introduce --next flag on cz version --project. Which returns the next version based on the project's config. It could potentially support forcing the increment type. Example: --next=MAJOR or --next=PATCHIntroduce --next flag on cz version --project #1678
Allow users to play with the configured version_scheme, by letting them provide any version, cz version <version_arg>, this would override the commitizen version or the given --project parameter. The user would then be able to "learn" about the behavior, by doing cz version 0.1.0 --next=MAJORAdd support for cz version <version_arg> #1679
Add --tag: to actually retrieve the tag of the version with the template applied. If your tags looks like this: v0.1.0. You have to manually add v to your version right now. This would be useful to interact with git. If you want to retrieve the tagged commit, you could do: git show-ref $(cz version -p --tag). This is useful for auditing. And, if you have an old CI (e.g: jenkins), it would give an easy way for teams to check if the tag exists already before trying to bump. This parameter is the one I'm least sure about, so maybe we can work on the other features first, and if we think it would be useful, we add it.Add cz version --tag #1765
Do we want a --hash to get the version hash for auditing purposes?
BREAKING: Add --version back and deprecate cz version --comitizen which is the default for cz version
Description
The idea of this ticket is to track the "graduation" of
cz version --projectinto a powerful command, capable of fetching information about the project.This includes:
--nextflag oncz version --project. Which returns the next version based on the project's config. It could potentially support forcing the increment type. Example:--next=MAJORor--next=PATCHIntroduce--nextflag oncz version --project#1678version_scheme, by letting them provide any version,cz version <version_arg>, this would override the commitizen version or the given--projectparameter. The user would then be able to "learn" about the behavior, by doingcz version 0.1.0 --next=MAJORAdd support forcz version <version_arg>#1679--tag: to actually retrieve the tag of the version with the template applied. If your tags looks like this:v0.1.0. You have to manually add v to your version right now. This would be useful to interact with git. If you want to retrieve the tagged commit, you could do: git show-ref $(cz version -p --tag). This is useful for auditing. And, if you have an old CI (e.g: jenkins), it would give an easy way for teams to check if the tag exists already before trying to bump. This parameter is the one I'm least sure about, so maybe we can work on the other features first, and if we think it would be useful, we add it.Addcz version --tag#1765--hashto get the version hash for auditing purposes?--versionback and deprecatecz version --comitizenwhich is the default forcz version#1640