Skip to content

Commit e23c9e4

Browse files
authored
Clarify version bumping for alpha version
As laid out in this issue #1539, bumping the major version via commit messages only works once the current version hits 1.0.0. This behaviour is not yet documented.
1 parent 89f8cb1 commit e23c9e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/more-info/version-increments.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ The options for `commit-message-incrementing` are `Enabled`, `MergeMessageOnly`
3939

4040
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.
4141

42+
One thing to be aware of: If the current version is an alpha-version (i.e. 0.x.y.), attempting to bump the major version will merely bump the minor (eg from 0.2.0 to 0.3.0 instead of 1.0.0). Once the current version is greater than 1.0.0, bumping the major version works as expected.
43+
4244
### GitVersion.yml
4345
The first is by setting the `next-version` property in the GitVersion.yml file. This property only serves as a base version,
4446

0 commit comments

Comments
 (0)