Fix .deb package name to include versions
This commit is contained in:
parent
263b80ecbb
commit
b81ef0fbd6
2 changed files with 3 additions and 3 deletions
|
@ -126,7 +126,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
{
|
||||
Monikers.GetSdkDebianPackageName(c),
|
||||
Monikers.GetDebianSharedFrameworkPackageName(CliDependencyVersions.SharedFrameworkVersion),
|
||||
Monikers.GetDebianHostFxrPackageName(c),
|
||||
Monikers.GetDebianHostFxrPackageName(CliDependencyVersions.HostFxrVersion),
|
||||
Monikers.GetDebianSharedHostPackageName(c)
|
||||
};
|
||||
|
||||
|
|
|
@ -71,9 +71,9 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
return $"{packagePrefix}-dev-{nugetVersion}";
|
||||
}
|
||||
|
||||
public static string GetDebianHostFxrPackageName(BuildTargetContext c)
|
||||
public static string GetDebianHostFxrPackageName(string hostFxrNugetVersion)
|
||||
{
|
||||
return $"dotnet-hostfxr".ToLower();
|
||||
return $"dotnet-hostfxr-{hostFxrNugetVersion}".ToLower();
|
||||
}
|
||||
|
||||
public static string GetDebianSharedFrameworkPackageName(string sharedFrameworkNugetVersion)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue