From fbfa827279c1415dba3aa1daf20030b85597c6a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6llner?= Date: Fri, 3 Jan 2020 01:37:31 +0100 Subject: [PATCH] dotnet tool fix --- appveyor.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 4c2e316..6be8c88 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -57,7 +57,10 @@ test_script: # - cmd: choco install capnpc-csharp --source=".;https://chocolatey.org/api/v2" --force -y - cmd: choco install capnproto --source="https://chocolatey.org/api/v2" --force -y - cmd: cd %APPVEYOR_BUILD_FOLDER%\capnpc-csharp - - cmd: dotnet tool install --global --add-source ./nupkg capnpc-csharp + - powershell: | + $jversion = nbgv get-version -f json | ConvertFrom-Json + $version = $($jversion.NuGetPackageVersion) + dotnet tool install --global --add-source ./nupkg capnpc-csharp --version $(version) - cmd: cd %APPVEYOR_BUILD_FOLDER%\install-test - cmd: compile-test - cmd: cd %APPVEYOR_BUILD_FOLDER%