Fix release notes link in Win32Docs

This commit is contained in:
Andrew Arnott 2021-06-24 14:16:13 -06:00
Родитель b45394ce44
Коммит af1a5c28b3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: FD21E965BEF82456
2 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -1,8 +1,15 @@
<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>
<PackageReleaseNotes>https://github.com/microsoft/win32metadata/releases/tag/v$(Version)</PackageReleaseNotes>
<PackageReleaseNotes>https://github.com/microsoft/win32metadata/releases/tag/v$(ExpectedTagVersion)</PackageReleaseNotes>
</PropertyGroup>
</Target>

Просмотреть файл

@ -360,7 +360,8 @@ jobs:
inputs:
packageType: runtime
version: 2.1.x
- powershell: dotnet tool install -g nbgv
displayName: ⚙ Install nbgv
- script: dotnet pack -c $(BuildConfiguration)
displayName: 📦 dotnet pack
workingDirectory: apidocs