Skip to content

Commit 1b1f6f9

Browse files
Set assets manifest metadata for assets that get shipped with .NET release (#98824)
* add metadata to manifest * set in ItemDefinitionGroup * remove from items * comment
1 parent 5c03c07 commit 1b1f6f9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/installer/prepare-artifacts.proj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
</PropertyGroup>
2424
<Import Project="../tools/Sign.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
2525

26+
<Import Project="$(RepositoryEngineeringDir)Publishing.props" Condition="Exists('$(RepositoryEngineeringDir)Publishing.props')" />
27+
2628
<UsingTask TaskName="GenerateChecksums" AssemblyFile="$(InstallerTasksAssemblyPath)" />
2729

2830
<PropertyGroup>
@@ -56,6 +58,16 @@
5658
<ManifestBuildData Include="AzureDevOpsBranch=$(BUILD_SOURCEBRANCH)" />
5759
</ItemGroup>
5860

61+
<!--
62+
Set metadata for assets that are not marked as NonShipping.
63+
This is used to determine if the asset should be shipped as part of .NET release.
64+
-->
65+
<ItemDefinitionGroup>
66+
<ItemsToPush>
67+
<ManifestArtifactData Condition="'$(ProducesDotNetReleaseShippingAssets)' == 'true'">DotNetReleaseShipping=true</ManifestArtifactData>
68+
</ItemsToPush>
69+
</ItemDefinitionGroup>
70+
5971
<!--
6072
Run Arcade's signing project directly. The 'eng/Signing.props' extensibility props file checks
6173
if '$(<StageName>)' == 'true' and points Arcade to the correct files.

0 commit comments

Comments
 (0)