Skip to content

Commit

Permalink
Change to GitVersion 4 and Mainline mode
Browse files Browse the repository at this point in the history
Merge PR #56 from gaelcolas/feature/gitversion
  • Loading branch information
Jaykul committed Feb 22, 2019
2 parents 52f3639 + 2c36a22 commit 792b2fd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
23 changes: 13 additions & 10 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
mode: ContinuousDeployment
next-version: 1.0.0
assembly-versioning-scheme: 'MajorMinorPatchTag'
assembly-versioning-scheme: MajorMinorPatchTag
assembly-informational-format: '{NuGetVersionV2}+Sha.{Sha}.Date.{CommitDate}'
mode: Mainline
next-version: 1.0.0
commit-message-incrementing: MergeMessageOnly
branches:
develop:
tag: alpha
master:
tag: beta
increment: Minor
features?[/-]:
tag: preview
increment: Minor
releases?[/-]:
features:
increment: patch
regex: features?[/-]
source-branches:
- master
releases:
increment: None

regex: releases?[/-]
source-branches:
- master
ignore:
sha: []
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pool:
vmImage: 'VS2017-Win2016' # options: 'Ubuntu 16.04', 'macOS 10.13', 'VS2017-Win2016'

steps:
- task: gittools.gitversion.gitversion-task.GitVersion@3
- task: gittools.gitversion.gitversion-task.GitVersion@4
displayName: GitVersion

# As long as we're calling build.ps1, we don't need to bootstrap separately
Expand Down

0 comments on commit 792b2fd

Please sign in to comment.