add suffix to projectmodel.workspaces, use commit count in pack so version suffix is untouched.
This commit is contained in:
parent
a01fda9856
commit
5bcc4c91c5
2 changed files with 2 additions and 2 deletions
|
@ -214,7 +214,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
[Target]
|
||||
public static BuildTargetResult GenerateNugetPackages(BuildTargetContext c)
|
||||
{
|
||||
var versionSuffix = c.BuildContext.Get<BuildVersion>("BuildVersion").VersionSuffix;
|
||||
var versionSuffix = c.BuildContext.Get<BuildVersion>("BuildVersion").CommitCountString;
|
||||
var configuration = c.BuildContext.Get<string>("Configuration");
|
||||
|
||||
var env = GetCommonEnvVars(c);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"version": "1.0.0-rc2-*",
|
||||
"compilationOptions": {
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue