Skip to content

Commit

Permalink
Change deterministic build triggering.
Browse files Browse the repository at this point in the history
  • Loading branch information
lauxjpn committed Nov 5, 2020
1 parent 3912714 commit 6b8dfd5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<SignAssembly>true</SignAssembly>
</PropertyGroup>

<PropertyGroup Condition="'$(TF_BUILD)' == 'True'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<Deterministic>true</Deterministic>
</PropertyGroup>

<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath=""/>
</ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
The following properties will automatically be set by CI builds when appropriate:
ContinuesIntegrationTimestamp
BuildSha
ContinuousIntegrationBuild (not version but SourceLink related)
-->
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ jobs:
if ($pack)
{
$arguments = 'pack', '-c', 'Release', '-o', '$(Build.ArtifactStagingDirectory)', '-p:ContinuousIntegrationBuild=true'
$arguments = 'pack', '-c', 'Release', '-o', '$(Build.ArtifactStagingDirectory)'
if ($ciBuildOnly)
{
Expand Down

0 comments on commit 6b8dfd5

Please sign in to comment.