File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
src/SourceBuild/content/repo-projects Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change 13
13
<RunEachTargetSeparately Condition =" '$(BuildInParallel)' == 'true' and '$(ContinuousIntegrationBuild)' != 'true'" >true</RunEachTargetSeparately >
14
14
</PropertyGroup >
15
15
16
- <Import Project =" $(GitInfoRepoPropsFile)" Condition =" Exists('$(GitInfoRepoPropsFile)')" />
16
+ <Import Project =" $(GitInfoRepoPropsFile)" Condition =" Exists('$(GitInfoRepoPropsFile)') and '$(UseOfficialBuildVersioning)' != 'false' " />
17
17
18
18
<PropertyGroup >
19
19
<!-- Fake, to satisfy the SDK. -->
87
87
<!-- Pass locations for assets -->
88
88
<BuildArgs >$(BuildArgs) /p:SourceBuiltAssetsDir=$(ArtifactsAssetsDir)</BuildArgs >
89
89
<BuildArgs >$(BuildArgs) /p:SourceBuiltAssetManifestsDir=$(RepoAssetManifestsDir)</BuildArgs >
90
+ <BuildArgs Condition =" '$(OfficialBuildId)' != ''" >$(BuildArgs) /p:OfficialBuildId=$(OfficialBuildId)</BuildArgs >
90
91
</PropertyGroup >
91
92
92
93
<PropertyGroup Condition =" '$(DotNetBuildSourceOnly)' == 'true'" >
144
145
145
146
</ItemGroup >
146
147
147
- <!--
148
- Apply official build versioning to match Microsoft build. These are based on build date, so
149
- need to be parsed from Maestro++ auto-update and passed through.
150
- -->
151
- <ItemGroup Condition =" '$(UseOfficialBuildVersioning)' != 'false'" >
152
- <EnvironmentVariables Include =" OfficialBuildId=$(OfficialBuildId)" />
153
- <EnvironmentVariables Include =" BUILD_BUILDNUMBER=$(OfficialBuildId)" />
154
-
155
- <EnvironmentVariables Include =" DotNetUseShippingVersions=true" />
156
- <EnvironmentVariables Include =" PreReleaseVersionLabel=$(PreReleaseVersionLabel)" />
157
- <EnvironmentVariables Include =" PackageVersionStamp=$(PreReleaseVersionLabel)" />
158
- </ItemGroup >
159
-
160
148
<ItemGroup >
161
149
<EnvironmentVariables Include =" DeterministicSourcePaths=true" Condition =" '$(DeterministicBuildOptOut)' != 'true'" />
162
150
<EnvironmentVariables Include =" DeterministicSourcePaths=false" Condition =" '$(DeterministicBuildOptOut)' == 'true'" />
You can’t perform that action at this time.
0 commit comments