Skip to content

Commit

Permalink
Pass the -pack switch to repo source-build leg (#111153)
Browse files Browse the repository at this point in the history
* Pass the -pack switch to repo source-build leg

The -pack switch is necessary to create the rid agnostic libraries packages which are then wrapped into the source-build intermediate package.

Regressed with 19c25fd
Unblocks #111010

* Add missing Pack target to BuildIntegration.proj
  • Loading branch information
ViktorHofer authored Jan 7, 2025
1 parent aecae2c commit 7ddd2f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eng/DotNetBuild.props
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@
Properties that control flags from the VMR build, and the expected output for the VMR build should be added to this file. -->

<!-- Enable regular Arcade signing and publishing in VMR build -->
<InnerBuildArgs Condition="'$(DotNetBuildOrchestrator)' == 'true'">$(InnerBuildArgs) $(FlagParameterPrefix)restore $(FlagParameterPrefix)build $(FlagParameterPrefix)pack $(FlagParameterPrefix)publish</InnerBuildArgs>
<InnerBuildArgs Condition="'$(DotNetBuildOrchestrator)' == 'true'">$(InnerBuildArgs) $(FlagParameterPrefix)restore $(FlagParameterPrefix)build $(FlagParameterPrefix)publish</InnerBuildArgs>
<InnerBuildArgs Condition="'$(DotNetBuildOrchestrator)' == 'true' and '$(Sign)' == 'true'">$(InnerBuildArgs) $(FlagParameterPrefix)sign</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)pack</InnerBuildArgs>

<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)arch $(TargetArch)</InnerBuildArgs>
<InnerBuildArgs Condition="'$(DotNetBuildSourceOnly)' != 'true'">$(InnerBuildArgs) $(FlagParameterPrefix)os $(TargetOS)</InnerBuildArgs>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@
</Target>

<Target Name="Restore" />
<Target Name="Pack" />
</Project>

0 comments on commit 7ddd2f6

Please sign in to comment.