1
0
mirror of synced 2024-07-01 08:17:39 +00:00

Fix for Publish.ps1 on Windows 7 (Powershell 4), buffer GitVersion output before passing to ConvertFrom-Json

This commit is contained in:
Mark van Renswoude 2017-02-10 13:05:10 +01:00
parent 3359849984
commit 69b854fe54

View File

@ -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