Skip to content

Commit

Permalink
Remove source-build workaround for sourcelink submodule issue (dotnet…
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSimons committed Jan 5, 2022
1 parent 6aa132d commit 9b049bd
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions eng/SourceBuild.props
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<GitHubRepositoryName>aspnetcore</GitHubRepositoryName>
<SourceBuildManagedOnly>true</SourceBuildManagedOnly>
<CloneSubmodulesToInnerSourceBuildRepo>false</CloneSubmodulesToInnerSourceBuildRepo>
</PropertyGroup>

<Target Name="PrepareGlobalJsonForSourceBuild"
Expand All @@ -14,19 +13,6 @@
WorkingDirectory="$(InnerSourceBuildRepoRoot)" />
</Target>

<!--
Init submodules - temporarary workaround for https://github.com/dotnet/sourcelink/pull/653
-->
<Target Name="InitSubmodules"
DependsOnTargets="PrepareInnerSourceBuildRepoRoot"
BeforeTargets="RunInnerSourceBuildCommand">

<Exec
Command="git submodule update --init --recursive"
WorkingDirectory="$(InnerSourceBuildRepoRoot)"
EnvironmentVariables="@(InnerBuildEnv)" />
</Target>

<!--
Remove inner source .globalconfig file as both the inner and outer config files get loaded and cause a conflict.
Leaving the inner will cause all conflicting settings to be ignored.
Expand Down

0 comments on commit 9b049bd

Please sign in to comment.