cz fetches "rc" tag instead of "alpha" tag #985
Unanswered
ramnarayan-code
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@woile It will be great and helpful if you could clarify this question. Looking forward to your response |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi cz community,
First of all, thanks a lot to the community for the release of v3.14.0 which fixed the version bump between the pre-releases.
But we have another issue.
In our setup, we create "alpha" tags for "dev" env, "rc" tags for "stage" env and final release for "prod" env.
When we follow the below workflow,
Step 1-> Start with 1.0.0 -> New "feat" commits in feature branch –> 1.1.0a0(Dev) -> 1.1.0rc0(Stage)
Step 2-> New "feat" commits in feature branch -> 1.1.0rc1(Dev) (Wrong bump: 1.1.0rc0->1.1.0rc1, Expected bump: 1.1.0a0->1.1.0a1)
Despite passing "--prerelease alpha" to cz bump in dev branch, it fetched 1.1.0rc0 tag and bumped to 1.1.0rc1 during the ci_cd pipeline run for dev branch.
The expectation is when prerelease argument is passed, cz is supposed to fetch the corresponding latest tag.
Looking forward to your suggestions.
Beta Was this translation helpful? Give feedback.
All reactions