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")
6262 Configuration = configuration ,
6363 EnvironmentVariables = new Dictionary < string , string >
6464 {
65- { "Version" , gitVersion . SemVer } ,
65+ { "Version" , gitVersion . LegacySemVer } ,
6666 { "SourceRevisionId" , gitVersion . Sha }
6767 }
6868 } ;
@@ -298,7 +298,7 @@ Task("PackageNugetPackages")
298298 NoBuild = true ,
299299 IncludeSymbols = true ,
300300 MSBuildSettings = new DotNetCoreMSBuildSettings ( )
301- . WithProperty ( "PackageVersion" , gitVersion . SemVer )
301+ . WithProperty ( "PackageVersion" , gitVersion . LegacySemVer )
302302 } ;
303303 DotNetCorePack ( projectPath , settings ) ;
304304 }
@@ -326,7 +326,7 @@ Task("PushToMyget")
326326
327327 foreach ( var project in projects )
328328 {
329- var packageFileName = $ "{ project } .{ gitVersion . SemVer } .nupkg";
329+ var packageFileName = $ "{ project } .{ gitVersion . LegacySemVer } .nupkg";
330330 var packageFile = artifactsPackagesDirectory . CombineWithFilePath ( packageFileName ) ;
331331 packageFiles . Add ( packageFile ) ;
332332 }
You can’t perform that action at this time.
0 commit comments