Sets build configuration to Release

This commit is contained in:
Chris Cheetham 2019-10-04 13:25:56 -04:00
Родитель 0bd67f6ce9
Коммит 622b5d75ca
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -18,7 +18,7 @@ jobs:
inputs:
command: 'build'
projects: '$(Solution).sln'
arguments: '--configuration $(buildConfiguration) /p:TreatWarningsAsErrors=True'
arguments: '--configuration Release /p:TreatWarningsAsErrors=True'
- task: 'DotNetCoreCLI@2'
displayName: 'Test'
inputs:
@ -33,7 +33,7 @@ jobs:
inputs:
command: 'build'
projects: '$(Solution).sln'
arguments: '--configuration $(buildConfiguration) /p:TreatWarningsAsErrors=True'
arguments: '--configuration Release /p:TreatWarningsAsErrors=True'
- task: 'DotNetCoreCLI@2'
displayName: 'Test'
inputs:
@ -48,7 +48,7 @@ jobs:
inputs:
command: 'pack'
packagesToPack: '$(Solution).sln'
arguments: '--configuration $(buildConfiguration) /p:TreatWarningsAsErrors=True'
arguments: '--configuration Release /p:TreatWarningsAsErrors=True'
versioningScheme: 'byEnvVar'
versionEnvVar: 'PackageVersion'
- task: 'DotNetCoreCLI@2'