Skip to content

Commit

Permalink
Trying to enable Deterministic build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kralizek committed Oct 20, 2020
1 parent e0f8034 commit 3a3275b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ Task("PackTool")
MSBuildSettings = new DotNetCoreMSBuildSettings()
.SetInformationalVersion(state.Version.AssemblyVersion)
.SetVersion(state.Version.PackageVersion)
.WithProperty("ContinuousIntegrationBuild", "True"),
.WithProperty("ContinuousIntegrationBuild", "true"),
};

DotNetCorePack(state.Paths.SolutionFile.ToString(), settings);
Expand Down
12 changes: 11 additions & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,21 @@
<PropertyGroup>
<SkipDefaultEditorConfigAsAdditionalFile>true</SkipDefaultEditorConfigAsAdditionalFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors Condition=" '$(Configuration)'=='Release'">true</TreatWarningsAsErrors>
<TreatWarningsAsErrors Condition=" '$(Configuration)'=='Release'">true</TreatWarningsAsErrors>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)\..\CodeAnalysis.Application.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>

<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)\..\.editorconfig" />
</ItemGroup>

<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
<PackageReference Include="SourceLink.Copy.PdbFiles" Version="2.8.3" PrivateAssets="All" />
</ItemGroup>
</Project>

0 comments on commit 3a3275b

Please sign in to comment.