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:
parent
f596b8ddce
commit
71b78a9c68
4 changed files with 27 additions and 21 deletions
|
@ -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}";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue