Replies: 6 comments 5 replies
-
Could you expand more with some examples? I'm not sure if you want to create a tag per branch, or just struggling with bumping a single branch ( |
Beta Was this translation helpful? Give feedback.
-
I would like to tag develop branch and main branch.
So lets say the branch main is a at 0.1.0
Then I fix + and introduce a breaking change in dev. So in dev I attend
something like 1.0.0.dev (or similar).
Then I merge to main and would expect 1.0.0.
How can I do that ?
Le jeu. 20 oct. 2022, 15:32, Santiago Fraire Willemoes <
***@***.***> a écrit :
… Could you expand more with some examples? I'm not sure if you want to
create a tag per branch, or just struggling with bumping a single branch (
main). Thanks!
—
Reply to this email directly, view it on GitHub
<#611 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGA4VSCOLNMIPHEFTR22FQTWEFCWZANCNFSM6AAAAAARKDX73Y>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hello, But for my knowledge, I would be interested by someone explaining me how to do it for a gitlab flow (if possible) or a git flow. If you have the most complex, you can simplify better for you need :) At the end, it may be out of commitizen scope but having a working example would be a must. |
Beta Was this translation helpful? Give feedback.
-
I never saw this discussion sorry. Your hunch is right. IMO versioning the main branch is the most straightforward way. If you need "external" access to your library (let's say you have an open source package and you want people to test it), then you could "offer" prerelease versions per branch, but you'll have to attach something unique like pr number. But if you need to create something like a preview environment for other teammates to test, you can just make a release using the pr number and only make a "production" release (bumping) when you merge to the main branch. Let me know if it helps |
Beta Was this translation helpful? Give feedback.
-
So I am experimenting with Commitizen and saw this discussion and here is an example of what I would like to do (similar) and like to know how to make this happen:
I would like the change on ALPHA to have revision: 0.1.0.a1 I've noticed that when playing with the tool I can get the 0.1.0a1 version but when the PR moves up to RC branch, we don't get another bump because the commit histories are the same. What's a recommended solution for this? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am strugguling to find a way to implement commitizen into a CI workflow.
What are the command to bump for each branch in something similar to git flow ?
If I
cz bump
in develop andmain
like in the gitlab CI, I will end with two times the same tag, no ? After merging this branch to main.Sorry it's the first time I tried to implement it end to end :)
Beta Was this translation helpful? Give feedback.
All reactions