File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Task("Artifacts-DotnetTool-Test")
11
11
12
12
foreach ( var dockerImage in parameters . Docker . Images )
13
13
{
14
- var cmd = $ "dotnet tool install GitVersion.Tool --version { version . ToLowerInvariant ( ) } --tool-path { rootPrefix } /gitversion --add-source { rootPrefix } /nuget | out-null; ";
14
+ var cmd = $ "dotnet tool install GitVersion.Tool --version { version } --tool-path { rootPrefix } /gitversion --add-source { rootPrefix } /nuget | out-null; ";
15
15
cmd += $ "{ rootPrefix } /gitversion/dotnet-gitversion { rootPrefix } /repo /showvariable FullSemver;";
16
16
17
17
DockerTestArtifact ( dockerImage , parameters , cmd ) ;
@@ -30,7 +30,7 @@ Task("Artifacts-MsBuild-Test")
30
30
foreach ( var dockerImage in parameters . Docker . Images )
31
31
{
32
32
var ( os , distro , targetframework ) = dockerImage ;
33
- var cmd = $ "dotnet build { rootPrefix } /repo/test --source { rootPrefix } /nuget --source https://api.nuget.org/v3/index.json -p:GitVersionTaskVersion={ version . ToLowerInvariant ( ) } -p:TargetFramework={ targetframework } | out-null; ";
33
+ var cmd = $ "dotnet build { rootPrefix } /repo/test --source { rootPrefix } /nuget --source https://api.nuget.org/v3/index.json -p:GitVersionTaskVersion={ version } -p:TargetFramework={ targetframework } | out-null; ";
34
34
cmd += $ "dotnet { rootPrefix } /repo/test/build/corefx/{ targetframework } /TestRepo.dll;";
35
35
36
36
DockerTestArtifact ( dockerImage , parameters , cmd ) ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public class BuildVersion
28
28
Version = version ,
29
29
SemVersion = semVersion ,
30
30
GemVersion = semVersion . Replace ( "-" , "." ) ,
31
- NugetVersion = nugetVersion ,
31
+ NugetVersion = nugetVersion . ToLowerInvariant ( ) ,
32
32
VsixVersion = vsixVersion ,
33
33
} ;
34
34
}
You can’t perform that action at this time.
0 commit comments