File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,15 @@ function Publish-DotNetTool($version)
6161{
6262 # Tool packages have to target a single non-platform-specific TFM; doing this here is cleaner than attempting it in the CSPROJ directly
6363 dotnet pack ./ src/ SeqCli/ SeqCli.csproj - c Release -- output ./ artifacts / p:VersionPrefix= $version / p:TargetFramework= $framework / p:TargetFrameworks=
64+ if ($LASTEXITCODE -ne 0 ) { exit 7 }
65+ }
66+
67+ function Publish-Docs ($version )
68+ {
69+ Write-Output " Generating markdown documentation"
70+
71+ & dotnet run -- project ./ src/ SeqCli/ SeqCli.csproj -f $framework -- help -- markdown > ./ artifacts/ seqcli- $version.md
72+ if ($LASTEXITCODE -ne 0 ) { exit 8 }
6473}
6574
6675Push-Location $PSScriptRoot
@@ -74,5 +83,6 @@ Restore-Packages
7483Publish-Archives ($version )
7584Publish-DotNetTool ($version )
7685Execute- Tests
86+ Publish-Docs ($version )
7787
7888Pop-Location
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ artifacts:
1313- path : artifacts/seqcli-*.zip
1414- path : artifacts/seqcli-*.tar.gz
1515- path : artifacts/seqcli.*.nupkg
16+ - path : artifacts/seqcli-*.md
1617
1718for :
1819-
Original file line number Diff line number Diff line change 3333 <PackageReference Include =" Superpower" Version =" 2.3.0" />
3434 <PackageReference Include =" System.Reactive" Version =" 5.0.0" />
3535 <PackageReference Include =" System.Security.Cryptography.ProtectedData" Version =" 5.0.0" />
36- <PackageReference Include =" Seq.Api" Version =" 2021.3.0-dev-00167 " />
36+ <PackageReference Include =" Seq.Api" Version =" 2021.3.0" />
3737 <PackageReference Include =" Seq.Apps" Version =" 5.1.0" />
3838 <!-- Seq.Api pulls in Tavis.UriTemplates which pulls in version 1.6.0 of this package, causing
3939 package downgrade warnings. -->
You can’t perform that action at this time.
0 commit comments