integrate @krwq 's moniker/compile version changes

unset the hardcoded channel

fix version badge version

fix a capitalization

fix the archives

Update filenames of zip files to have the correct versions

move version gen
This commit is contained in:
Bryan Thornbury 2016-03-23 17:13:58 -07:00
parent f596b8ddce
commit 71b78a9c68
4 changed files with 27 additions and 21 deletions

View file

@ -10,11 +10,10 @@ namespace Microsoft.DotNet.Cli.Build
{
public const string SharedFrameworkName = "Microsoft.NETCore.App";
public static string GetProductMoniker(BuildTargetContext c, string artifactPrefix)
public static string GetProductMoniker(BuildTargetContext c, string artifactPrefix, string version)
{
string osname = GetOSShortName();
var arch = CurrentArchitecture.Current.ToString();
var version = c.BuildContext.Get<BuildVersion>("BuildVersion").SimpleVersion;
return $"{artifactPrefix}-{osname}-{arch}.{version}";
}