Skip to content

Commit 5491651

Browse files
authored
Merge pull request #209 from nblumhardt/final-2021.3-api
Update to 2021.3 RTM API
2 parents caba478 + 98cf764 commit 5491651

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

Build.ps1

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff 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

6675
Push-Location $PSScriptRoot
@@ -74,5 +83,6 @@ Restore-Packages
7483
Publish-Archives($version)
7584
Publish-DotNetTool($version)
7685
Execute-Tests
86+
Publish-Docs($version)
7787

7888
Pop-Location

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

1718
for:
1819
-

src/SeqCli/SeqCli.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
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. -->

0 commit comments

Comments
 (0)