File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ Task("Build")
62
62
Configuration = configuration ,
63
63
EnvironmentVariables = new Dictionary < string , string >
64
64
{
65
- { "Version" , gitVersion . SemVer } ,
65
+ { "Version" , gitVersion . LegacySemVer } ,
66
66
{ "SourceRevisionId" , gitVersion . Sha }
67
67
}
68
68
} ;
@@ -298,7 +298,7 @@ Task("PackageNugetPackages")
298
298
NoBuild = true ,
299
299
IncludeSymbols = true ,
300
300
MSBuildSettings = new DotNetCoreMSBuildSettings ( )
301
- . WithProperty ( "PackageVersion" , gitVersion . SemVer )
301
+ . WithProperty ( "PackageVersion" , gitVersion . LegacySemVer )
302
302
} ;
303
303
DotNetCorePack ( projectPath , settings ) ;
304
304
}
@@ -326,7 +326,7 @@ Task("PushToMyget")
326
326
327
327
foreach ( var project in projects )
328
328
{
329
- var packageFileName = $ "{ project } .{ gitVersion . SemVer } .nupkg";
329
+ var packageFileName = $ "{ project } .{ gitVersion . LegacySemVer } .nupkg";
330
330
var packageFile = artifactsPackagesDirectory . CombineWithFilePath ( packageFileName ) ;
331
331
packageFiles . Add ( packageFile ) ;
332
332
}
You can’t perform that action at this time.
0 commit comments