Skip to content

Commit d5c2ac6

Browse files
304NotModifiedmartincostello
authored andcommitted
Enable deterministic build (#839)
Resolve NuGet Package Explorer warnings.
1 parent 3127923 commit d5c2ac6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

build.cake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ Task("__UpdateDotNetStandardAssemblyVersionNumber")
169169
{ "InformationalVersion", assemblySemver },
170170
{ "Version", nugetVersion },
171171
{ "PackageVersion", nugetVersion },
172+
{ "ContinuousIntegrationBuild", "true" },
172173
};
173174

174175
var csproj = File("./src/" + projectName + "/" + projectName + ".csproj");

src/Polly/Polly.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
<Authors>Michael Wolfenden, App vNext</Authors>
1919
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
2020
<LangVersion>latest</LangVersion>
21+
<EmbedUntrackedSources>true</EmbedUntrackedSources> <!-- EmbedUntrackedSources for deterministic build -->
22+
<ContinuousIntegrationBuild>false</ContinuousIntegrationBuild>
2123
</PropertyGroup>
2224
<PropertyGroup Label="SourceLink">
2325
<PublishRepositoryUrl>true</PublishRepositoryUrl>

0 commit comments

Comments
 (0)