Skip to content

Commit 8bd8f58

Browse files
authored
Unconditionally enable DebBuild and RpmBuild (#39644)
- address a build issue mentioned in dotnet/aspnetcore-internal#3988 - I accidentally disabled these targets for targeting packs in 08968dd
1 parent 29aae5b commit 8bd8f58

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Installers/Debian/Directory.Build.targets

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
<Target Name="Build" DependsOnTargets="DebBuild" />
2828
<Target Name="Pack" />
2929

30-
<Target Name="DebBuild" DependsOnTargets="$(DebBuildDependsOn)"
31-
Condition=" '$(MSBuildProjectName)' != 'Debian.TargetingPack' ">
30+
<Target Name="DebBuild" DependsOnTargets="$(DebBuildDependsOn)">
3231
<!-- Generate debian_config.json. We can't simply use WriteLinesToFile because of https://github.com/Microsoft/msbuild/issues/1622. Use our custom GenerateFileFromTemplate task instead -->
3332
<PropertyGroup>
3433
<DebianConfigProperties>

src/Installers/Rpm/Directory.Build.targets

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
<Target Name="Build" DependsOnTargets="RpmBuild" />
3737
<Target Name="Pack" />
3838

39-
<Target Name="RpmBuild" DependsOnTargets="$(RpmBuildDependsOn)"
40-
Condition=" '$(MSBuildProjectName)' != 'Rpm.TargetingPack' ">
39+
<Target Name="RpmBuild" DependsOnTargets="$(RpmBuildDependsOn)">
4140
<!-- Create layout: Create changelog -->
4241
<PropertyGroup>
4342
<ChangeLogProps>DATE=$([System.DateTime]::UtcNow.ToString(ddd MMM dd yyyy))</ChangeLogProps>

0 commit comments

Comments
 (0)