From ff8c4363e459eb637441bc7c09ee89c19f9fd4c8 Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Fri, 10 Feb 2017 13:05:10 +0100 Subject: [PATCH] Fix for Publish.ps1 on Windows 7 (Powershell 4), buffer GitVersion output before passing to ConvertFrom-Json --- Publish.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Publish.ps1 b/Publish.ps1 index 723d7aa..b7ad3d4 100644 --- a/Publish.ps1 +++ b/Publish.ps1 @@ -1,6 +1,6 @@ New-Item -Path publish -Type directory -Force | Out-Null -$version = GitVersion.exe | ConvertFrom-Json +$version = GitVersion.exe | Out-String | ConvertFrom-Json $nugetkey = Get-Content .nuget.apikey