Skip to content

Commit 06b4a81

Browse files
authored
Account for target installer arch in mac pkg id generation (#7831)
1 parent 5aa9d32 commit 06b4a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.DotNet.Build.Tasks.Installers/build/installer.singlerid.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@
399399
RemoveProperties="@(_GlobalPropertiesToRemoveForPublish)" />
400400
<PropertyGroup>
401401
<_MacOSVersionComponent Condition="'$(IncludeVersionInMacOSComponentName)' == 'true'">.$(InstallerPackageVersion)</_MacOSVersionComponent>
402-
<_MacOSComponentName Condition="'$(_MacOSComponentName)' == ''">com.microsoft.dotnet.$(MacOSComponentNamePackType)$(_MacOSVersionComponent).component.osx.x64</_MacOSComponentName>
402+
<_MacOSComponentName Condition="'$(_MacOSComponentName)' == ''">com.microsoft.dotnet.$(MacOSComponentNamePackType)$(_MacOSVersionComponent).component.osx.$(InstallerTargetArchitecture)</_MacOSComponentName>
403403
<_MacOSSharedInstallDir>/usr/local/share/dotnet</_MacOSSharedInstallDir>
404404

405405
<_pkgArgs></_pkgArgs>

0 commit comments

Comments
 (0)