File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ extends:
288288 buildArchitecture : x64
289289 # Do not publish zips and tarballs. The linux-x64 binaries are
290290 # already published by Build_LinuxPortable_Release_x64
291- additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:IsRPMBasedDistro =true'
291+ additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:BuildSdkRpm =true'
292292 linuxPortable : true
293293 runTests : false
294294 - template : eng/build.yml@self
@@ -301,7 +301,7 @@ extends:
301301 runtimeIdentifier : ' linux-arm64'
302302 # Do not publish zips and tarballs. The linux-x64 binaries are
303303 # already published by Build_LinuxPortable_Release_x64
304- additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:IsRPMBasedDistro =true'
304+ additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:BuildSdkRpm =true'
305305 linuxPortable : true
306306 runTests : false
307307 - template : eng/build.yml@self
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ stages:
247247 buildArchitecture : x64
248248 # Do not publish zips and tarballs. The linux-x64 binaries are
249249 # already published by Build_LinuxPortable_Release_x64
250- additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:IsRPMBasedDistro =true'
250+ additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:BuildSdkRpm =true'
251251 linuxPortable : true
252252 runTests : false
253253 - template : eng/build-pr.yml
@@ -260,7 +260,7 @@ stages:
260260 runtimeIdentifier : ' linux-arm64'
261261 # Do not publish zips and tarballs. The linux-x64 binaries are
262262 # already published by Build_LinuxPortable_Release_x64
263- additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:IsRPMBasedDistro =true'
263+ additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:BuildSdkRpm =true'
264264 linuxPortable : true
265265 runTests : false
266266 - template : eng/build-pr.yml
Original file line number Diff line number Diff line change 1616 build environment. https://github.com/dotnet/sdk/issues/41910 -->
1717 <Target Name =" GenerateRpmsInner"
1818 DependsOnTargets =" TestFPMTool;BuildRpms"
19- Condition =" '$(IsRPMBasedDistro )' == 'True' "
19+ Condition =" '$(BuildSdkRpm )' == 'True' "
2020 Outputs =" @(GeneratedInstallers)" />
2121
2222 <Target Name =" BuildRpms"
2323 DependsOnTargets =" GenerateSdkRpm"
24- Condition =" '$(IsRPMBasedDistro )' == 'True' and '$(FPMPresent)' == 'True' " />
24+ Condition =" '$(BuildSdkRpm )' == 'True' and '$(FPMPresent)' == 'True' " />
2525
2626 <Target Name =" GenerateSdkRpm"
2727 DependsOnTargets =" SetupRpmProps" >
317317 <FPMPresent Condition =" '$(FPMExitCode)' == '0' " >True</FPMPresent >
318318 </PropertyGroup >
319319
320- <!-- Workaround for Jenkins machines that don't have the necessary packages https://github.com/dotnet/core-setup/issues/2260 -->
321- <Message Condition =" '$(FPMPresent)' != 'True' "
322- Text =" FPM tool Not found, RPM packages will not be built."
323- Importance =" High" />
320+ <Error Condition =" '$(FPMPresent)' != 'True' "
321+ Text =" FPM tool Not found, RPM packages will not be built." />
324322 </Target >
325323
326324 <Target Name =" TestSdkRpm"
327- Condition =" '$(CLIBUILD_SKIP_TESTS)' != 'true' and '$(IsRPMBasedDistro )' == 'True' and '$(FPMPresent)' == 'True' "
325+ Condition =" '$(CLIBUILD_SKIP_TESTS)' != 'true' and '$(BuildSdkRpm )' == 'True' and '$(FPMPresent)' == 'True' "
328326 Inputs =" $(DownloadedNetCoreAppTargetingPackInstallerFile);
329327 $(DownloadedNetStandardTargetingPackInstallerFile);
330328 $(DownloadedNetCoreAppHostPackInstallerFile);
You can’t perform that action at this time.
0 commit comments