Merge pull request #550 from microsoft/dev/andarno/apidocs

Fix release notes link in Win32Docs
This commit is contained in:
Andrew Arnott 2021-06-24 15:28:07 -06:00 коммит произвёл GitHub
Родитель b45394ce44 af1a5c28b3
Коммит b09412a903
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 11 добавлений и 3 удалений

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

@ -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