File tree Expand file tree Collapse file tree 4 files changed +7
-10
lines changed
Expand file tree Collapse file tree 4 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,7 @@ variables:
6060 - group : Publish-Build-Assets
6161 # The following extra properties are not set when testing. Use with final build.[cmd,sh] of asset-producing jobs.
6262 - name : _PublishArgs
63- value : /p:GenerateChecksums=true
64- /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
63+ value : /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
6564 - ${{ if ne(parameters.produceBinlogs, 'true') }} :
6665 # Do not log most Windows steps in official builds; this is the slowest job. Site extensions step always logs.
6766 - name : WindowsArm64LogArgs
Original file line number Diff line number Diff line change @@ -62,8 +62,7 @@ variables:
6262 - group : Publish-Build-Assets
6363 # The following extra properties are not set when testing. Use with final build.[cmd,sh] of asset-producing jobs.
6464 - name : _PublishArgs
65- value : /p:GenerateChecksums=true
66- /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
65+ value : /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
6766 - ${{ if ne(parameters.produceBinlogs, 'true') }} :
6867 # Do not log most Windows steps in official builds; this is the slowest job. Site extensions step always logs.
6968 - name : WindowsArm64LogArgs
Original file line number Diff line number Diff line change 11<Project >
2- <PropertyGroup Condition = " '$(GenerateChecksums)' == 'true' " >
2+ <PropertyGroup >
33 <!-- $(InstallersOutputPath) is not defined. Root Directory.Build.props is not imported. -->
44 <InstallersOutputPath >$(ArtifactsDir)installers\</InstallersOutputPath >
55 <_SuppressSdkImports >false</_SuppressSdkImports >
66 </PropertyGroup >
77
88 <Target Name =" PopulateGenerateChecksumItems"
9- Condition =" '$(GenerateChecksums)' == 'true'"
109 AfterTargets =" Build"
11- BeforeTargets =" GenerateChecksums" >
10+ BeforeTargets =" GenerateChecksums" >
1211
1312 <ItemGroup >
1413 <InstallerFiles Include =" $(InstallersOutputPath)**\*.msi" />
2524
2625 </Target >
2726
28- <Import Project =" Sdk.targets" Sdk =" Microsoft.DotNet.Arcade.Sdk" Condition = " '$(GenerateChecksums)' == 'true' " />
27+ <Import Project =" Sdk.targets" Sdk =" Microsoft.DotNet.Arcade.Sdk" />
2928
3029</Project >
Original file line number Diff line number Diff line change 1717 '$(PostBuildSign)' != 'true' and
1818 '$(DotNetBuildRepo)' != 'true'" >false</EnableDefaultPublishItems >
1919
20- <PublishInstallerBaseVersion Condition =" '$(PublishInstallerBaseVersion )' == '' and '$(EnableDefaultPublishItems )' == 'true'" >true</PublishInstallerBaseVersion >
20+ <PublishInstallerBaseVersion Condition =" '$(OS )' == 'Windows_NT' or '$(DotNetBuildRepo )' == 'true'" >true</PublishInstallerBaseVersion >
2121 <!-- This avoids creating VS.*.symbols.nupkg packages that are identical to the original package. -->
2222 <AutoGenerateSymbolPackages >false</AutoGenerateSymbolPackages >
2323 </PropertyGroup >
3333 <_InstallersToPublish Include =" $(ArtifactsDir)packages\**\*.jar" UploadPathSegment =" jar" />
3434 <_InstallersToPublish Include =" $(ArtifactsDir)packages\**\*.pom" UploadPathSegment =" jar" />
3535 <!-- All builds produce npm assets - only publish them once -->
36- <_InstallersToPublish Include =" $(ArtifactsDir)packages\**\*.tgz" UploadPathSegment =" npm" Condition =" '$(OS)' == 'Windows_NT'" />
36+ <_InstallersToPublish Include =" $(ArtifactsDir)packages\**\*.tgz" UploadPathSegment =" npm" Condition =" '$(OS)' == 'Windows_NT' or '$(DotNetBuildRepo)' == 'true' " />
3737 <_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.deb" UploadPathSegment =" Runtime" />
3838 <_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.exe" UploadPathSegment =" Runtime" />
3939 <_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.msi" UploadPathSegment =" Runtime" />
You can’t perform that action at this time.
0 commit comments