Skip to content

Commit

Permalink
Merge pull request #127 from mwarzybok-sumoheavy/feature/SP-665
Browse files Browse the repository at this point in the history
SP-665 Reproducible C# builds
  • Loading branch information
bobbrodie committed Aug 21, 2023
2 parents b95b6c5 + 340d11c commit 6af0f4d
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions BitPay/BitPay.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<!-- version numbers will be updated by build -->
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<FileVersion>5.0.0</FileVersion>
<VersionPrefix>5.0.0</VersionPrefix>
<Version>5.0.0</Version>
<AssemblyVersion>5.0.1.0</AssemblyVersion>
<FileVersion>5.0.1</FileVersion>
<VersionPrefix>5.0.1</VersionPrefix>
<Version>5.0.1</Version>
<Authors>Antonio Buedo</Authors>
<Company>BitPay Inc.</Company>
<Owners>BitPay, Inc.</Owners>
Expand All @@ -30,6 +30,11 @@
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild>True</ContinuousIntegrationBuild>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<!-- Conditionally obtain references for the .NET Framework 4.8 target -->
Expand All @@ -46,4 +51,12 @@
<PackageReference Include="Portable.BouncyCastle" Version="1.9.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>

0 comments on commit 6af0f4d

Please sign in to comment.