Skip to content

Commit

Permalink
CI: remove prerelease tag, add script to update properties docs (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmkurtm authored Aug 18, 2020
1 parent 1acdee8 commit 69a827c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ pool:

variables:
buildConfiguration: 'Release'
majorVersion: 0
minorVersion: 2
suffix: 'beta'
majorVersion: 1
minorVersion: 0


stages:
- stage: Version
Expand Down Expand Up @@ -58,7 +58,7 @@ stages:
**/LiquidTestReports.Markdown.csproj
**/LiquidTestReports.Custom.csproj
custom: pack
arguments: '--no-build -o $(Build.ArtifactStagingDirectory) -c $(buildConfiguration) -p:PackageVersion=$(Build.BuildNumber)-$(suffix)'
arguments: '--no-build -o $(Build.ArtifactStagingDirectory) -c $(buildConfiguration) -p:PackageVersion=$(Build.BuildNumber)'
versioningScheme: byBuildNumber

- task: PublishBuildArtifacts@1
Expand Down
2 changes: 2 additions & 0 deletions ci/updateproperties.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dotnet test ../test/SampleProject/SampleProject.Tests.xUnit -l "liquid.custom;Template=../../../docs/PropertiesRaw.md;LogFileName=PropertiesOut.md" -f netcoreapp3.1
Move-Item -Path ../test/SampleProject/SampleProject.Tests.xUnit/TestResults/PropertiesOut.md -Destination ../docs/Properties.md -force

0 comments on commit 69a827c

Please sign in to comment.