|
87 | 87 | </ItemGroup>
|
88 | 88 |
|
89 | 89 | <ItemGroup Condition="'$(DotNetBuildPass)' == '' or '$(DotNetBuildPass)' == '1'">
|
90 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.zip" Condition=" '$(PublishBinariesAndBadge)' == 'true' " /> |
91 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.tar.gz" Condition=" '$(PublishBinariesAndBadge)' == 'true' " /> |
92 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.pkg" /> |
93 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.exe" /> |
94 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.deb" /> |
95 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.rpm" /> |
96 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.msi" /> |
97 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.cab" /> |
98 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.svg" Condition=" '$(PublishBinariesAndBadge)' == 'true' " /> |
| 90 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.zip" IsShipping="true" Condition="'$(PublishBinariesAndBadge)' == 'true'" /> |
| 91 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.tar.gz" IsShipping="true" Condition="'$(PublishBinariesAndBadge)' == 'true'" /> |
| 92 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.pkg" IsShipping="true" /> |
| 93 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.exe" IsShipping="true" /> |
| 94 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.deb" IsShipping="true" /> |
| 95 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.rpm" IsShipping="true" /> |
| 96 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.msi" IsShipping="true" /> |
| 97 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.cab" IsShipping="true" /> |
| 98 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)*.svg" IsShipping="true" Condition="'$(PublishBinariesAndBadge)' == 'true'" /> |
99 | 99 | <!-- Only publish this file from windows x64 so that we don't end up with duplicates -->
|
100 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)productVersion.txt" |
101 |
| - Condition=" '$(PublishBinariesAndBadge)' == 'true' and '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x64' and '$(PgoInstrument)' != 'true'" /> |
102 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)sdk-productVersion.txt" |
103 |
| - Condition=" '$(PublishBinariesAndBadge)' == 'true' and '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x64' and '$(PgoInstrument)' != 'true'" /> |
104 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)productCommit-*.json" Condition=" '$(PublishBinariesAndBadge)' == 'true' " /> |
105 |
| - <SdkArtifact Include="$(ArtifactsShippingPackagesDir)productCommit-*.txt" Condition=" '$(PublishBinariesAndBadge)' == 'true' " /> |
106 |
| - <SdkArtifact Include="$(ArtifactsNonShippingPackagesDir)*.swr" /> |
107 |
| - <SdkArtifact Include="$(ArtifactsNonShippingPackagesDir)*.msi" /> |
108 |
| - <SdkArtifact Condition="'$(PublishBinariesAndBadge)' != 'false'" Include="$(ArtifactsNonShippingPackagesDir)*.tar.gz" /> |
| 100 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)productVersion.txt" IsShipping="true" Condition="'$(PublishBinariesAndBadge)' == 'true' and '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x64' and '$(PgoInstrument)' != 'true'" /> |
| 101 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)sdk-productVersion.txt" IsShipping="true" Condition="'$(PublishBinariesAndBadge)' == 'true' and '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x64' and '$(PgoInstrument)' != 'true'" /> |
| 102 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)productCommit-*.json" IsShipping="true" Condition="'$(PublishBinariesAndBadge)' == 'true'" /> |
| 103 | + <SdkArtifact Include="$(ArtifactsShippingPackagesDir)productCommit-*.txt" IsShipping="true" Condition="'$(PublishBinariesAndBadge)' == 'true'" /> |
| 104 | + <SdkArtifact Include="$(ArtifactsNonShippingPackagesDir)*.swr" IsShipping="false" /> |
| 105 | + <SdkArtifact Include="$(ArtifactsNonShippingPackagesDir)*.msi" IsShipping="false" /> |
| 106 | + <SdkArtifact Include="$(ArtifactsNonShippingPackagesDir)*.tar.gz" IsShipping="false" Condition="'$(PublishBinariesAndBadge)' == 'true'" /> |
| 107 | + |
109 | 108 | <!-- dotnet-toolset zips are added above for specific builds only. -->
|
110 |
| - <SdkArtifact Include="$(ArtifactsNonShippingPackagesDir)dotnet-toolset*.zip" |
111 |
| - Condition="'$(PublishBinariesAndBadge)' == 'true' and '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x64' and '$(PgoInstrument)' != 'true'" /> |
112 |
| - <SdkArtifact Include="$(ArtifactsNonShippingPackagesDir)*.zip" Condition="'$(PublishBinariesAndBadge)' != 'false'" Exclude="$(ArtifactsNonShippingPackagesDir)dotnet-toolset*.zip" /> |
113 |
| - <SdkArtifact Include="$(ArtifactsNonShippingPackagesDir)*.pkg" /> |
| 109 | + <SdkArtifact Include="$(ArtifactsNonShippingPackagesDir)dotnet-toolset*.zip" IsShipping="false" Condition="'$(PublishBinariesAndBadge)' == 'true' and '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x64' and '$(PgoInstrument)' != 'true'" /> |
| 110 | + <SdkArtifact Include="$(ArtifactsNonShippingPackagesDir)*.zip" IsShipping="false" Condition="'$(PublishBinariesAndBadge)' == 'true'" Exclude="$(ArtifactsNonShippingPackagesDir)dotnet-toolset*.zip" /> |
| 111 | + <SdkArtifact Include="$(ArtifactsNonShippingPackagesDir)*.pkg" IsShipping="false" /> |
114 | 112 |
|
115 | 113 | <Artifact Include="@(SdkArtifact)"
|
116 |
| - IsShipping="$([System.String]::Copy('%(RecursiveDir)').StartsWith('Shipping'))" |
117 | 114 | RelativeBlobPath="$(RelativeBlobPathParent)/%(Filename)%(Extension)">
|
118 | 115 | <ChecksumPath Condition="$([System.String]::Copy('%(Filename)%(Extension)').EndsWith('.wixpack.zip')) != 'true'">%(FullPath).sha512</ChecksumPath>
|
119 | 116 | </Artifact>
|
|
0 commit comments