You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/input/docs/learn/branching-strategies/gitflow/examples.md
+58-33Lines changed: 58 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -6,53 +6,69 @@ RedirectFrom:
6
6
- docs/git-branching-strategies/gitflow-examples
7
7
---
8
8
9
-
These examples are illustrating the usage of the supported `GitFlow` workflow in GitVersion.
10
-
To enable this workflow, the build-in template [GitFlow/v1](/docs/workflows/GitFlow/v1.json) needs to be referenced in the configuration as following:
9
+
These examples are illustrating the usage of the supported `GitFlow` workflow
10
+
in GitVersion. To enable this workflow, the builtin template
11
+
[GitFlow/v1](/docs/workflows/GitFlow/v1.json) needs to be referenced in the
12
+
configuration as follows:
11
13
```yaml
12
14
workflow: GitFlow/v1
13
15
mode: ContinuousDelivery
14
16
```
15
17
16
-
Where
17
-
the [continuous deployment](/docs/reference/modes/continuous-deployment) mode for no branches,
18
-
the [continuous delivery](/docs/reference/modes/continuous-delivery) mode for `main`, `support` and `develop` branches and
19
-
the [manual deployment](/docs/reference/modes/manual-deployment) mode for `release`, `feature`, `hotfix` and `unknown` branches
20
-
are specified.
21
-
22
-
This configuration allows you to publish CI (Continuous Integration) builds from `main`, `support` and `develop` branches to an artifact repository.
23
-
All other branches are manually published. Read more about this at [version increments](/docs/reference/version-increments).
24
-
25
-
__Notice:__ The _continuous delivery_ mode has been used for the `main` and the `support` branch in this examples (specified as a fallback on the root configuration layer)
26
-
to illustrate how the version increments are applying. In production context the _continuous deployment_ mode might be a better option when e.g.
27
-
the releasing process is automated or the commits are tagged by the pipeline automatically.
18
+
Where
19
+
the [continuous deployment][continuous-deployment] mode for no branches,
20
+
the [continuous delivery][continuous-delivery] mode for
21
+
`main`, `support` and `develop` branches and
22
+
the [manual deployment][manual-deployment] mode
23
+
for `release`, `feature`, `hotfix` and `unknown` branches are specified.
24
+
25
+
This configuration allows you to publish CI (Continuous Integration) builds
26
+
from `main`, `support` and `develop` branches to an artifact repository.
27
+
All other branches are manually published. Read more about this at
The _continuous delivery_ mode has been used for the `main` and the
32
+
`support`branch in this examples (specified as a fallback on the root
33
+
configuration layer) to illustrate how the version increments are applied.
34
+
In production context the _continuous deployment_ mode might be a better
35
+
option when e.g. the release process is automated or the commits are tagged
36
+
by the pipeline automatically.
37
+
:::
28
38
29
39
## Feature Branches
30
40
31
-
Feature branches can be used in the `GitFlow` workflow to implement a feature in an isolated environement. Feature branches will take the feature branch name and use that
32
-
as the pre-release label. Will be created from `develop`, `release`, `main`, `support` or `hotfix` branches.
41
+
Feature branches can be used in the `GitFlow` workflow to implement a
42
+
feature in an isolated environment. Feature branches will take the feature
43
+
branch name and use that as the pre-release label. Feature branches will be
44
+
created from a `develop`, `release`, `main`, `support` or `hotfix` branch.
0 commit comments