Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions GitVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@
# version string as "Major.Minor.<commits>-preview" from those values so
# we get the exact format we want across GitHub Actions and OneBranch.
#
# To start a new release line, bump next-version (e.g. 1.1.0) and commit;
# the commit counter resets automatically because it counts commits since
# that change.
# To start a new release line, bump next-version (e.g. 1.2.0) and commit.
#
# We override `strategies` to omit `TaggedCommit` so GitVersion never
# treats a tag (such as `v1.0.273`) as the version source. Without this,
# creating a version tag resets `CommitsSinceVersionSource` and the patch
# number can go backwards relative to a previous build.
strategies:
- Fallback
- ConfiguredNextVersion
- TrackReleaseBranches
- VersionInBranchName

next-version: 1.0.0
next-version: 1.1.0
Loading