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:
60
60
- group : Publish-Build-Assets
61
61
# The following extra properties are not set when testing. Use with final build.[cmd,sh] of asset-producing jobs.
62
62
- name : _PublishArgs
63
- value : /p:GenerateChecksums=true
64
- /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
63
+ value : /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
65
64
- ${{ if ne(parameters.produceBinlogs, 'true') }} :
66
65
# Do not log most Windows steps in official builds; this is the slowest job. Site extensions step always logs.
67
66
- name : WindowsArm64LogArgs
Original file line number Diff line number Diff line change @@ -62,8 +62,7 @@ variables:
62
62
- group : Publish-Build-Assets
63
63
# The following extra properties are not set when testing. Use with final build.[cmd,sh] of asset-producing jobs.
64
64
- name : _PublishArgs
65
- value : /p:GenerateChecksums=true
66
- /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
65
+ value : /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
67
66
- ${{ if ne(parameters.produceBinlogs, 'true') }} :
68
67
# Do not log most Windows steps in official builds; this is the slowest job. Site extensions step always logs.
69
68
- name : WindowsArm64LogArgs
Original file line number Diff line number Diff line change 1
1
<Project >
2
- <PropertyGroup Condition = " '$(GenerateChecksums)' == 'true' " >
2
+ <PropertyGroup >
3
3
<!-- $(InstallersOutputPath) is not defined. Root Directory.Build.props is not imported. -->
4
4
<InstallersOutputPath >$(ArtifactsDir)installers\</InstallersOutputPath >
5
5
<_SuppressSdkImports >false</_SuppressSdkImports >
6
6
</PropertyGroup >
7
7
8
8
<Target Name =" PopulateGenerateChecksumItems"
9
- Condition =" '$(GenerateChecksums)' == 'true'"
10
9
AfterTargets =" Build"
11
- BeforeTargets =" GenerateChecksums" >
10
+ BeforeTargets =" GenerateChecksums" >
12
11
13
12
<ItemGroup >
14
13
<InstallerFiles Include =" $(InstallersOutputPath)**\*.msi" />
25
24
26
25
</Target >
27
26
28
- <Import Project =" Sdk.targets" Sdk =" Microsoft.DotNet.Arcade.Sdk" Condition = " '$(GenerateChecksums)' == 'true' " />
27
+ <Import Project =" Sdk.targets" Sdk =" Microsoft.DotNet.Arcade.Sdk" />
29
28
30
29
</Project >
Original file line number Diff line number Diff line change 17
17
'$(PostBuildSign)' != 'true' and
18
18
'$(DotNetBuildRepo)' != 'true'" >false</EnableDefaultPublishItems >
19
19
20
- <PublishInstallerBaseVersion Condition =" '$(PublishInstallerBaseVersion )' == '' and '$(EnableDefaultPublishItems )' == 'true'" >true</PublishInstallerBaseVersion >
20
+ <PublishInstallerBaseVersion Condition =" '$(OS )' == 'Windows_NT' or '$(DotNetBuildRepo )' == 'true'" >true</PublishInstallerBaseVersion >
21
21
<!-- This avoids creating VS.*.symbols.nupkg packages that are identical to the original package. -->
22
22
<AutoGenerateSymbolPackages >false</AutoGenerateSymbolPackages >
23
23
</PropertyGroup >
33
33
<_InstallersToPublish Include =" $(ArtifactsDir)packages\**\*.jar" UploadPathSegment =" jar" />
34
34
<_InstallersToPublish Include =" $(ArtifactsDir)packages\**\*.pom" UploadPathSegment =" jar" />
35
35
<!-- 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' " />
37
37
<_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.deb" UploadPathSegment =" Runtime" />
38
38
<_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.exe" UploadPathSegment =" Runtime" />
39
39
<_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.msi" UploadPathSegment =" Runtime" />
You can’t perform that action at this time.
0 commit comments