Fix .deb package name to include versions

This commit is contained in:
Senthil 2016-06-13 19:17:35 -07:00 committed by Bryan Thornbury
parent 263b80ecbb
commit b81ef0fbd6
2 changed files with 3 additions and 3 deletions

View file

@ -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)
};

View file

@ -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)