Skip to content

Commit b4105f3

Browse files
committed
Migrate GitVersion to ContinuousDeployment
By default, GitVersion only uses `ContinuousDeployment` on the `develop` branch, and `ContinuousDelivery` on all other branches. This creates a problem when attempting to publish preview releases of particular for integration testing, as that means the versions need to be manually bumped using a tag. By setting the default to `ContinuousDeployment`, the build version will increment with every commit, thus ensuring unique versions. The `master` branch is kept on `ContinuousDelivery` so that it requires manual incrementing via tags.
1 parent 6da3fa4 commit b4105f3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

GitVersion.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
assembly-versioning-scheme: MajorMinorPatch
2-
mode: ContinuousDelivery
3-
branches: {}
2+
mode: ContinuousDeployment
3+
branches:
4+
master:
5+
mode: ContinuousDelivery
46
ignore:
5-
sha: []
7+
sha: []

0 commit comments

Comments
 (0)