Skip to content

Commit

Permalink
Merge pull request #712 from dotnet/fix688
Browse files Browse the repository at this point in the history
Allow a way for consumers to supply their own targets to the private P2P target
  • Loading branch information
AArnott authored Jan 6, 2022
2 parents 13673a3 + dd78a69 commit 9e303c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<NBGV_InnerGlobalProperties Condition=" '$(ProjectPathRelativeToGitRepoRoot)' != '' ">$(NBGV_InnerGlobalProperties)ProjectPathRelativeToGitRepoRoot=$(ProjectPathRelativeToGitRepoRoot);</NBGV_InnerGlobalProperties>
<NBGV_InnerGlobalProperties Condition=" '$(GitVersionBaseDirectory)' != '' ">$(NBGV_InnerGlobalProperties)GitVersionBaseDirectory=$(GitVersionBaseDirectory);</NBGV_InnerGlobalProperties>
<NBGV_InnerGlobalProperties Condition=" '$(OverrideBuildNumberOffset)' != '' ">$(NBGV_InnerGlobalProperties)OverrideBuildNumberOffset=$(OverrideBuildNumberOffset);</NBGV_InnerGlobalProperties>
<NBGV_InnerGlobalProperties Condition=" '$(NBGV_PrivateP2PAuxTargets)' != '' ">$(NBGV_InnerGlobalProperties)NBGV_PrivateP2PAuxTargets=$(NBGV_PrivateP2PAuxTargets);</NBGV_InnerGlobalProperties>
</PropertyGroup>

<!-- Compile a list of global properties that may vary when a project builds but that would never influence the result of the GetBuildVersion task. -->
Expand Down
2 changes: 2 additions & 0 deletions src/Nerdbank.GitVersioning.Tasks/build/PrivateP2PCaching.proj
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@
<!-- These targets are called when the consuming project is a VSIX project. -->
<Target Name="BuiltProjectOutputGroup" />
<Target Name="SatelliteDllsProjectOutputGroup" />

<Import Project="$(NBGV_PrivateP2PAuxTargets)" Condition=" '$(NBGV_PrivateP2PAuxTargets)' != '' " />
</Project>

0 comments on commit 9e303c9

Please sign in to comment.