Merge pull request #550 from microsoft/dev/andarno/apidocs
Fix release notes link in Win32Docs
This commit is contained in:
Коммит
b09412a903
|
@ -1,8 +1,15 @@
|
||||||
<Project>
|
<Project>
|
||||||
|
|
||||||
<Target Name="PrepareReleaseNotes" BeforeTargets="GenerateNuspec" DependsOnTargets="GetBuildVersion">
|
<Target Name="PrepareReleaseNotes" BeforeTargets="GenerateNuspec">
|
||||||
|
<!-- The tag for the release built from this commit is based on the cloud build number, as calculated from the repo root.
|
||||||
|
See release.yml for more on that. -->
|
||||||
|
<Exec Command="nbgv get-version -v CloudBuildNumber -p ../.."
|
||||||
|
ConsoleToMSBuild="true"
|
||||||
|
StandardOutputImportance="low">
|
||||||
|
<Output TaskParameter="ConsoleOutput" PropertyName="ExpectedTagVersion" />
|
||||||
|
</Exec>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PackageReleaseNotes>https://github.com/microsoft/win32metadata/releases/tag/v$(Version)</PackageReleaseNotes>
|
<PackageReleaseNotes>https://github.com/microsoft/win32metadata/releases/tag/v$(ExpectedTagVersion)</PackageReleaseNotes>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
|
|
@ -360,7 +360,8 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
packageType: runtime
|
packageType: runtime
|
||||||
version: 2.1.x
|
version: 2.1.x
|
||||||
|
- powershell: dotnet tool install -g nbgv
|
||||||
|
displayName: ⚙ Install nbgv
|
||||||
- script: dotnet pack -c $(BuildConfiguration)
|
- script: dotnet pack -c $(BuildConfiguration)
|
||||||
displayName: 📦 dotnet pack
|
displayName: 📦 dotnet pack
|
||||||
workingDirectory: apidocs
|
workingDirectory: apidocs
|
||||||
|
|
Загрузка…
Ссылка в новой задаче