Skip to content

Commit

Permalink
CI: Add Cli project to build, bump minor build and add beta suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmkurtm committed Apr 2, 2021
1 parent 56a9c16 commit 9f27b71
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ pool:
variables:
buildConfiguration: 'Release'
majorVersion: 1
minorVersion: 0

minorVersion: 1
suffix: 'beta'

stages:
- stage: Version
Expand Down Expand Up @@ -45,7 +45,9 @@ stages:
displayName: 'dotnet test'
inputs:
command: test
projects: '**/LiquidTestReports.Core.Tests.csproj'
projects: |
**/LiquidTestReports.Core.Tests.csproj
**/LiquidTestReports.Cli.Tests.csproj
arguments: '--no-build -c $(buildConfiguration)'

- task: DotNetCoreCLI@2
Expand All @@ -57,8 +59,9 @@ stages:
**/LiquidTestReports.Core.csproj
**/LiquidTestReports.Markdown.csproj
**/LiquidTestReports.Custom.csproj
**/LiquidTestReports.Cli.csproj
custom: pack
arguments: '--no-build -o $(Build.ArtifactStagingDirectory) -c $(buildConfiguration) -p:PackageVersion=$(Build.BuildNumber)'
arguments: '--no-build -o $(Build.ArtifactStagingDirectory) -c $(buildConfiguration) -p:PackageVersion=$(Build.BuildNumber)-$(suffix)'
versioningScheme: byBuildNumber

- task: PublishBuildArtifacts@1
Expand Down

0 comments on commit 9f27b71

Please sign in to comment.