Skip to content

Commit

Permalink
Fix consumption of NBGV version properties in build (#1544)
Browse files Browse the repository at this point in the history
The last release was originally missing the tag in the release notes link
  • Loading branch information
Rob-Hague authored Dec 18, 2024
1 parent 021ee99 commit d96b9eb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Renci.SshNet/Renci.SshNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,20 @@
<PackageIcon>SS-NET-icon-h500.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>ssh; scp; sftp</PackageTags>
<PackageReleaseNotes>https://github.com/sshnet/SSH.NET/releases/tag/$(Version)</PackageReleaseNotes>
<IncludeSymbols>True</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<NBGV_ThisAssemblyIncludesPackageVersion>true</NBGV_ThisAssemblyIncludesPackageVersion>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>

<Target Name="SetVersionProperties" BeforeTargets="Build" DependsOnTargets="GetBuildVersion">
<!-- For properties which depend on those set by NBGV -->
<PropertyGroup>
<PackageReleaseNotes>https://github.com/sshnet/SSH.NET/releases/tag/$(Version)</PackageReleaseNotes>
</PropertyGroup>
</Target>

<PropertyGroup Condition="'$(CI)' != ''">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
Expand Down

0 comments on commit d96b9eb

Please sign in to comment.