fix versions on the deb packages

This commit is contained in:
Bryan Thornbury 2016-03-24 16:35:42 -07:00
parent 7a82a98e4c
commit 2223da1a5c
2 changed files with 5 additions and 5 deletions

View file

@ -42,7 +42,7 @@ namespace Microsoft.DotNet.Cli.Build
public static string GetSdkDebianPackageName(BuildTargetContext c)
{
var channel = c.BuildContext.Get<string>("Channel").ToLower();
var sharedFrameworkNugetVersion = c.BuildContext.Get<string>("SharedFrameworkNugetVersion");
var nugetVersion = c.BuildContext.Get<BuildVersion>("BuildVersion").NuGetVersion;
var packagePrefix = "";
switch (channel)
@ -60,7 +60,7 @@ namespace Microsoft.DotNet.Cli.Build
throw new Exception($"Unknown channel - {channel}");
}
return $"{packagePrefix}-dev-{sharedFrameworkNugetVersion}";
return $"{packagePrefix}-dev-{nugetVersion}";
}
public static string GetDebianSharedFrameworkPackageName(BuildTargetContext c)