Config for a workflow with a single, reused release branch? #4168
Unanswered
BartSchuurmans
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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