Skip to content

Commit

Permalink
Merge pull request #209 from nblumhardt/final-2021.3-api
Browse files Browse the repository at this point in the history
Update to 2021.3 RTM API
  • Loading branch information
nblumhardt authored Oct 12, 2021
2 parents caba478 + 98cf764 commit 5491651
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ function Publish-DotNetTool($version)
{
# Tool packages have to target a single non-platform-specific TFM; doing this here is cleaner than attempting it in the CSPROJ directly
dotnet pack ./src/SeqCli/SeqCli.csproj -c Release --output ./artifacts /p:VersionPrefix=$version /p:TargetFramework=$framework /p:TargetFrameworks=
if($LASTEXITCODE -ne 0) { exit 7 }
}

function Publish-Docs($version)
{
Write-Output "Generating markdown documentation"

& dotnet run --project ./src/SeqCli/SeqCli.csproj -f $framework -- help --markdown > ./artifacts/seqcli-$version.md
if($LASTEXITCODE -ne 0) { exit 8 }
}

Push-Location $PSScriptRoot
Expand All @@ -74,5 +83,6 @@ Restore-Packages
Publish-Archives($version)
Publish-DotNetTool($version)
Execute-Tests
Publish-Docs($version)

Pop-Location
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ artifacts:
- path: artifacts/seqcli-*.zip
- path: artifacts/seqcli-*.tar.gz
- path: artifacts/seqcli.*.nupkg
- path: artifacts/seqcli-*.md

for:
-
Expand Down
2 changes: 1 addition & 1 deletion src/SeqCli/SeqCli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<PackageReference Include="Superpower" Version="2.3.0" />
<PackageReference Include="System.Reactive" Version="5.0.0" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="5.0.0" />
<PackageReference Include="Seq.Api" Version="2021.3.0-dev-00167" />
<PackageReference Include="Seq.Api" Version="2021.3.0" />
<PackageReference Include="Seq.Apps" Version="5.1.0" />
<!-- Seq.Api pulls in Tavis.UriTemplates which pulls in version 1.6.0 of this package, causing
package downgrade warnings. -->
Expand Down

0 comments on commit 5491651

Please sign in to comment.