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:
develop
and merged intodevelop
when ready. Each push todevelop
triggers a deployment to a test environment.develop
branch is merged into therelease
branch (note: this is the same branch for every release), which triggers a deployment to a staging environment.release
is 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:
develop
torelease
, the version fromdevelop
gets 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
)release
branchrelease
tomain
, I want the version number from therelease
branch (v1.2.3-rc.4
) to be transferred to themain
branch (v1.2.3
)Is this possible with GitVersion?
Beta Was this translation helpful? Give feedback.
All reactions