Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 1e02e72

Browse files
committed
Switch source build property to DotNetBuildFromSource
Detect source-build via DotNetBuildFromSource instead of DotNetBuildOffline which is set for the tarball build.
1 parent edc910f commit 1e02e72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/dir.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<PropertyGroup>
66
<!-- Used to determine if we should build some packages only once across multiple official build legs.
77
For offline builds we still set OfficialBuildId but we need to build all the packages for a single
8-
leg only, so we also take DotNetBuildOffline into account. -->
9-
<BuildingAnOfficialBuildLeg Condition="'$(BuildingAnOfficialBuildLeg)' == '' AND '$(OfficialBuildId)' != '' AND '$(DotNetBuildOffline)' != 'true'">true</BuildingAnOfficialBuildLeg>
8+
leg only, so we also take DotNetBuildFromSource into account. -->
9+
<BuildingAnOfficialBuildLeg Condition="'$(BuildingAnOfficialBuildLeg)' == '' AND '$(OfficialBuildId)' != '' AND '$(DotNetBuildFromSource )' != 'true'">true</BuildingAnOfficialBuildLeg>
1010
</PropertyGroup>
1111

1212
<!-- Packages opt-in to automatic RID-specific builds by placing a *.RID.props next to their project

0 commit comments

Comments
 (0)