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/more-info/version-increments.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,23 @@ See [Octopus deploy](build-server-setup/octopus-deploy.md)
22
22
## Manually incrementing the version
23
23
With v3 there are multiple approaches.
24
24
25
+
### Commit messages
26
+
Adding `+semver: breaking` or `+semver: major` will cause the major version to be increased, `+semver: feature` or `+semver:minor` will bump minor and `+semver:patch` or `+semver:fix` will bump the patch.
27
+
28
+
#### Configuration
29
+
The feature is enabled by default but can be disabled via configuration, the regex we use can be changed:
The options for `commit-message-incrementing` are `Enabled`, `MergeMessageOnly` and `Disabled`
39
+
40
+
If the incrementing mode is set to `MergeMessageOnly` you can add this information in when merging a pull request. This prevents commits within a PR bumping the version.
41
+
25
42
### GitVersionConfig.yaml
26
43
The first is by setting the `next-version` property in the GitVersionConfig.yaml file. This property only serves as a base version,
0 commit comments