72fa4f6cf3
Ubuntu is currently broken because we added a new channel, and a switch statement wasn't expecting the new channel. The fix is to eliminate the switch statement on the channel and always return "dotnet-dev-<version>" for the debian sdk package name.
14 lines
376 B
C#
14 lines
376 B
C#
using Microsoft.DotNet.Cli.Build.Framework;
|
|
|
|
namespace Microsoft.DotNet.Cli.Build
|
|
{
|
|
public static class CliMonikers
|
|
{
|
|
public static string GetSdkDebianPackageName(BuildTargetContext c)
|
|
{
|
|
var nugetVersion = c.BuildContext.Get<BuildVersion>("BuildVersion").NuGetVersion;
|
|
|
|
return $"dotnet-dev-{nugetVersion}";
|
|
}
|
|
}
|
|
}
|