1
0
mirror of synced 2024-12-22 17:23:07 +01: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 b319be8d76
commit ff8c4363e4

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