Skip to content

Commit 0c6570c

Browse files
committed
(build) fix now the docker images for artifact tests
1 parent 61ce893 commit 0c6570c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,4 @@ src/GitVersionRubyGem/bin/LibGit2Sharp.dll.config
129129
config.wyam.dll
130130
config.wyam.hash
131131
config.wyam.packages.xml
132+
/test/build

build/utils/docker.cake

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,7 @@ void DockerTestArtifact(DockerImage dockerImage, BuildParameters parameters, str
101101
Information("Docker tag: {0}", tag);
102102
Information("Docker cmd: {0}", cmd);
103103

104-
if (os == "windows" && targetframework == parameters.CoreFxVersion31)
105-
{
106-
cmd = "-Command " + cmd; // powershell 7 needs a -Command parameter
107-
}
104+
cmd = "-Command " + cmd; // powershell 7 needs a -Command parameter
108105

109106
DockerTestRun(settings, parameters, tag, "pwsh", cmd);
110107
}

0 commit comments

Comments
 (0)