From 58edc52e7047dec05e8a8903b8770fa7aafe4f0f Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Fri, 9 Oct 2020 10:49:06 -0400 Subject: [PATCH] Maybe we need the pipe? --- .ci/windows-steps.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/windows-steps.yaml b/.ci/windows-steps.yaml index 18bd50a0e5..fc5d5f9ab7 100644 --- a/.ci/windows-steps.yaml +++ b/.ci/windows-steps.yaml @@ -152,7 +152,7 @@ steps: cp doc\examples dist\win-installer\staging -recurse cp src\mlpack\tests\data\german.csv dist\win-installer\staging\examples\sample-ml-app\sample-ml-app\data\ # Check current git version or mlpack version. - $ver = (Get-Content "src\mlpack\core\util\version.hpp" where {$_ -like "*MLPACK_VERSION*"}); + $ver = (Get-Content "src\mlpack\core\util\version.hpp" | where {$_ -like "*MLPACK_VERSION*"}); $env:MLPACK_VERSION += $ver[0].substring($ver[0].length - 1, 1) + '.'; $env:MLPACK_VERSION += $ver[1].substring($ver[1].length - 1, 1) + '.'; $env:MLPACK_VERSION += $ver[2].substring($ver[2].length - 1, 1);