Skip to content

Commit

Permalink
Added GitVersion.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Jan 18, 2021
1 parent c445170 commit 00be19d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Only changing the mode from 'ContinuousDelivery' to 'ContinuousDeployment' results in better numbers (no '+' in them)
# To get the default configuration comment out all the contents of this file and run 'gitversion /showconfig'
mode: ContinuousDeployment
branches:
master:
regex: (^master$|^origin\/master$|^main$|^origin\/main$)
4 changes: 3 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ stages:

steps:
- task: GitVersion@5
displayName: GitVersion
displayName: 'GitVersion'
inputs:
configFilePath: '$(Build.SourcesDirectory)/GitVersion.yml'

- task: NuGetToolInstaller@1
displayName: 'Install NuGet'
Expand Down

0 comments on commit 00be19d

Please sign in to comment.