File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <GitHubRepositoryName >aspnetcore</GitHubRepositoryName >
55 <SourceBuildManagedOnly >true</SourceBuildManagedOnly >
6+ <CloneSubmodulesToInnerSourceBuildRepo >false</CloneSubmodulesToInnerSourceBuildRepo >
67 </PropertyGroup >
78
89 <Target Name =" PrepareGlobalJsonForSourceBuild"
1314 WorkingDirectory =" $(InnerSourceBuildRepoRoot)" />
1415 </Target >
1516
17+ <!--
18+ Init submodules - temporarary workaround for https://github.com/dotnet/sourcelink/pull/653
19+ -->
20+ <Target Name =" InitSubmodules"
21+ DependsOnTargets =" PrepareInnerSourceBuildRepoRoot"
22+ BeforeTargets =" RunInnerSourceBuildCommand" >
23+
24+ <Exec
25+ Command =" git submodule update --init --recursive"
26+ WorkingDirectory =" $(InnerSourceBuildRepoRoot)"
27+ EnvironmentVariables =" @(InnerBuildEnv)" />
28+ </Target >
29+
1630 <!--
1731 Remove inner source .globalconfig file as both the inner and outer config files get loaded and cause a conflict.
1832 Leaving the inner will cause all conflicting settings to be ignored.
You can’t perform that action at this time.
0 commit comments