Config for a workflow with a single, reused release branch? #4168
Replies: 1 comment
-
|
I'm closing this issue because no one has replied to you and it's unlikely there will be a progress in future. Thank you for your understanding. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A project I joined uses the following git workflow:
developand merged intodevelopwhen ready. Each push todeveloptriggers a deployment to a test environment.developbranch is merged into thereleasebranch (note: this is the same branch for every release), which triggers a deployment to a staging environment.releaseis merged intomain, which triggers a deployment to the production environment.I currently use this GitVersion config:
This seems to kind of accidentally work, but what I would actually like is the following:
developtorelease, the version fromdevelopgets transferred torelease(completely ignoring any earlier tags onrelease) except it is turned from a beta release (v1.2.3-beta.34) into an rc release (v1.2.3-rc.1)releasebranchreleasetomain, I want the version number from thereleasebranch (v1.2.3-rc.4) to be transferred to themainbranch (v1.2.3)Is this possible with GitVersion?
Beta Was this translation helpful? Give feedback.
All reactions