Skip to content

Commit cdc68de

Browse files
committed
Add source link
1 parent e00d302 commit cdc68de

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

src/Microsoft.OpenApi.Readers/Microsoft.OpenApi.Readers.csproj

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
<Description>OpenAPI.NET Readers for JSON and YAML documents</Description>
1515
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
1616
<PackageTags>OpenAPI .NET</PackageTags>
17-
17+
<RepositoryUrl>https://github.com/Microsoft/OpenAPI.NET</RepositoryUrl>
18+
<PackageReleaseNotes>
19+
- Publish symbols.
20+
</PackageReleaseNotes>
1821
<AssemblyName>Microsoft.OpenApi.Readers</AssemblyName>
1922
<RootNamespace>Microsoft.OpenApi.Readers</RootNamespace>
2023
<SignAssembly>true</SignAssembly>
@@ -25,6 +28,15 @@
2528
<AssemblyOriginatorKeyFile>..\Microsoft.OpenApi.snk</AssemblyOriginatorKeyFile>
2629
</PropertyGroup>
2730

31+
<!-- https://github.com/clairernovotny/DeterministicBuilds#deterministic-builds -->
32+
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
33+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
34+
</PropertyGroup>
35+
36+
<ItemGroup>
37+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
38+
</ItemGroup>
39+
2840
<ItemGroup>
2941
<PackageReference Include="SharpYaml" Version="1.6.6" />
3042
</ItemGroup>

src/Microsoft.OpenApi/Microsoft.OpenApi.csproj

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
<Description>.NET models with JSON and YAML writers for OpenAPI specification</Description>
1515
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
1616
<PackageTags>OpenAPI .NET</PackageTags>
17-
17+
<RepositoryUrl>https://github.com/Microsoft/OpenAPI.NET</RepositoryUrl>
18+
<PackageReleaseNotes>
19+
- Publish symbols.
20+
</PackageReleaseNotes>
1821
<AssemblyName>Microsoft.OpenApi</AssemblyName>
1922
<RootNamespace>Microsoft.OpenApi</RootNamespace>
2023
<SignAssembly>true</SignAssembly>
@@ -24,7 +27,16 @@
2427
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Microsoft.OpenApi.xml</DocumentationFile>
2528
<AssemblyOriginatorKeyFile>..\Microsoft.OpenApi.snk</AssemblyOriginatorKeyFile>
2629
</PropertyGroup>
27-
30+
31+
<!-- https://github.com/clairernovotny/DeterministicBuilds#deterministic-builds -->
32+
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
33+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
34+
</PropertyGroup>
35+
36+
<ItemGroup>
37+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
38+
</ItemGroup>
39+
2840
<ItemGroup>
2941
<Compile Update="Properties\SRResource.Designer.cs">
3042
<DesignTime>True</DesignTime>

0 commit comments

Comments
 (0)