Skip to content

Commit d67d8f2

Browse files
committed
feat(debugging): add debug symbols, determinstic builds, and source-link
1 parent e12a6a8 commit d67d8f2

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

src/Directory.Build.props

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,30 @@
1212
<PropertyGroup>
1313
<PackageProjectUrl>https://dotnet.github.io/dotnet-operator-sdk/</PackageProjectUrl>
1414
<RepositoryUrl>https://github.com/dotnet/dotnet-operator-sdk.git</RepositoryUrl>
15+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1516
<RepositoryType>git</RepositoryType>
1617
<PackageLicense>Apache-2.0</PackageLicense>
1718
<PackageIcon>icon.png</PackageIcon>
1819
<PackageReadmeFile>README.md</PackageReadmeFile>
19-
<PackageLicenseFile>LICENSE</PackageLicenseFile>
20+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
21+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
2022
</PropertyGroup>
2123

2224
<PropertyGroup>
2325
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
2426
</PropertyGroup>
2527

28+
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
29+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
30+
</PropertyGroup>
31+
2632
<ItemGroup>
2733
<None Include="README.md"
28-
Pack="true"
29-
PackagePath="\" />
34+
Pack="true"
35+
PackagePath="\"/>
3036
<None Include="$(MSBuildThisFileDirectory)\..\LICENSE"
31-
Pack="true"
32-
PackagePath="\" />
37+
Pack="true"
38+
PackagePath="\"/>
3339
<None Include="$(MSBuildThisFileDirectory)\..\res\icon.png">
3440
<Pack>true</Pack>
3541
<PackagePath>\</PackagePath>
@@ -39,16 +45,17 @@
3945

4046
<ItemGroup>
4147
<PackageReference Include="StyleCop.Analyzers"
42-
Version="1.2.0-beta.556"
43-
PrivateAssets="all"
44-
Condition="$(MSBuildProjectExtension) == '.csproj'" />
48+
Version="1.2.0-beta.556"
49+
PrivateAssets="all"
50+
Condition="$(MSBuildProjectExtension) == '.csproj'"/>
4551
<PackageReference Include="SonarAnalyzer.CSharp"
46-
Version="10.14.0.120626"
47-
PrivateAssets="all"
48-
Condition="$(MSBuildProjectExtension) == '.csproj'" />
52+
Version="10.14.0.120626"
53+
PrivateAssets="all"
54+
Condition="$(MSBuildProjectExtension) == '.csproj'"/>
4955
<PackageReference Include="Roslynator.Analyzers"
50-
Version="4.13.1"
51-
PrivateAssets="All" />
56+
Version="4.13.1"
57+
PrivateAssets="All"/>
58+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
5259
</ItemGroup>
5360

5461
<ItemGroup>

0 commit comments

Comments
 (0)