|
5 | 5 | <AutoGenerateSymbolPackages>false</AutoGenerateSymbolPackages> |
6 | 6 | </PropertyGroup> |
7 | 7 |
|
8 | | - <PropertyGroup Condition="'$(DotNetFinalPublish)' != 'true' and '$(DotNetBuild)' != 'true'"> |
9 | | - <PushToLocalStorage>true</PushToLocalStorage> |
10 | | - <ArtifactsStagingDir>$(ArtifactsDir)staging/</ArtifactsStagingDir> |
11 | | - <SourceBuiltPdbArtifactsDir>$(ArtifactsStagingDir)SymStore</SourceBuiltPdbArtifactsDir> |
12 | | - <!-- Put blobs where we put packages so our regular globbing in our publish join job finds them. --> |
13 | | - <SourceBuiltAssetsDir>$(ArtifactsStagingDir)</SourceBuiltAssetsDir> |
14 | | - <SourceBuiltShippingPackagesDir>$(ArtifactsStagingDir)packages/$(Configuration)/Shipping</SourceBuiltShippingPackagesDir> |
15 | | - <SourceBuiltNonShippingPackagesDir>$(ArtifactsStagingDir)packages/$(Configuration)/NonShipping</SourceBuiltNonShippingPackagesDir> |
16 | | - <PublishingUseHardlinksIfPossible>true</PublishingUseHardlinksIfPossible> |
17 | | - <!-- We don't use the asset manifest from the vertical dotnet/runtime legs outside of the VMR. Just dump it in a temp dir. --> |
18 | | - <SourceBuiltAssetManifestsDir>$(ArtifactsTmpDir)/manifests/$(Configuration)</SourceBuiltAssetManifestsDir> |
19 | | - <AssetManifestName>VerticalManifest.xml</AssetManifestName> |
20 | | - </PropertyGroup> |
21 | | - |
22 | | - <!-- In the runtime official build, we only sign a subset of files. Add all of our blob artifacts here again for publishing --> |
23 | | - <ItemGroup Condition="'$(DotNetFinalPublish)' == 'true'"> |
24 | | - <Artifact Include="$(ArtifactsPackagesDir)**\*.tar.gz; |
25 | | - $(ArtifactsPackagesDir)**\*.zip; |
26 | | - $(ArtifactsPackagesDir)**\*.deb; |
27 | | - $(ArtifactsPackagesDir)**\*.rpm; |
28 | | - $(ArtifactsPackagesDir)**\*.pkg; |
29 | | - $(ArtifactsPackagesDir)**\*.exe; |
30 | | - $(ArtifactsPackagesDir)**\*.msi;" |
31 | | - Exclude="$(ArtifactsPackagesDir)**\Symbols.runtime.tar.gz" |
32 | | - Kind="Blob" |
33 | | - IsShipping="$([System.String]::Copy('%(RecursiveDir)').StartsWith('Shipping'))"> |
34 | | - <!-- Exclude wixpack.zip files from checksum generation --> |
35 | | - <ChecksumPath Condition="$([System.String]::Copy('%(Filename)%(Extension)').EndsWith('.wixpack.zip')) != 'true'">%(FullPath).sha512</ChecksumPath> |
36 | | - </Artifact> |
37 | | - </ItemGroup> |
38 | | - |
39 | | - <!-- remove the manifest packages, they are built in the SDK repo now --> |
40 | | - <ItemGroup Condition="'$(DotNetFinalPublish)' == 'true'"> |
41 | | - <Artifact Remove="$(ArtifactsShippingPackagesDir)*.Manifest-*.nupkg" /> |
42 | | - </ItemGroup> |
43 | | - |
44 | | - <!-- The PGO runtime should always have External visibility, even if someone changes the default artifact visibility --> |
45 | | - <ItemGroup> |
46 | | - <Artifact Update="$(ArtifactsNonShippingPackagesDir)dotnet-runtime-pgo-*" Visibility="External" /> |
| 8 | + <!-- The PGO runtime should always have External visibility, even if someone changes the default artifact visibility --> |
| 9 | + <ItemGroup> |
| 10 | + <Artifact Update="$(ArtifactsNonShippingPackagesDir)dotnet-runtime-pgo-*" Visibility="External" /> |
47 | 11 | </ItemGroup> |
48 | 12 |
|
49 | 13 | <!-- |
|
91 | 55 | <ShouldGenerateProductVersionFiles Condition="'$(OutputRID)' == 'win-x64' and ('$(DotNetBuildPass)' == '' or '$(DotNetBuildPass)' == '1')">true</ShouldGenerateProductVersionFiles> |
92 | 56 | <ShouldGenerateProductVersionFiles Condition="'$(DotNetBuildSourceOnly)' == 'true'">true</ShouldGenerateProductVersionFiles> |
93 | 57 | </PropertyGroup> |
94 | | - <PropertyGroup Condition="'$(DotNetBuildOrchestrator)' != 'true'"> |
95 | | - <ShouldGenerateProductVersionFiles Condition="'$(DotNetFinalPublish)' == 'true'">true</ShouldGenerateProductVersionFiles> |
96 | | - </PropertyGroup> |
97 | 58 |
|
98 | 59 | <Target Name="GenerateProductVersionFiles" |
99 | 60 | DependsOnTargets="GetNonStableProductVersion" |
|
128 | 89 | DependsOnTargets="GetNonStableProductVersion" |
129 | 90 | BeforeTargets="PublishToAzureDevOpsArtifacts" |
130 | 91 | AfterTargets="GenerateChecksumsFromArtifacts"> |
131 | | - <ItemGroup Condition="'$(DotNetFinalPublish)' == 'true' or '$(DotNetBuildOrchestrator)' == 'true'"> |
| 92 | + <ItemGroup Condition="'$(DotNetBuildOrchestrator)' == 'true'"> |
132 | 93 | <Artifact Condition="'%(Artifact.Kind)' != 'Package' and '%(Artifact.RelativeBlobPath)' == ''" |
133 | 94 | RelativeBlobPath="Runtime/$(NonStableProductVersion)/%(Artifact.SubBlobFolder)%(Filename)%(Extension)" /> |
134 | 95 | </ItemGroup> |
135 | 96 | <!-- In vertical dotnet/runtime legs outside of the VMR, set the "relative blob path" to shipping vs non-shipping to make our download/upload work. --> |
136 | | - <ItemGroup Condition="'$(DotNetFinalPublish)' != 'true' and '$(DotNetBuildOrchestrator)' != 'true'"> |
| 97 | + <ItemGroup Condition="'$(DotNetBuildOrchestrator)' != 'true'"> |
137 | 98 | <Artifact Condition="'%(Artifact.Kind)' == 'Blob' and '%(Artifact.IsShipping)' == 'true'" |
138 | 99 | RelativeBlobPath="packages/$(Configuration)/Shipping/%(Filename)%(Extension)" /> |
139 | 100 | <Artifact Condition="'%(Artifact.Kind)' == 'Blob' and '%(Artifact.IsShipping)' != 'true'" |
|
0 commit comments