Fix for Publish.ps1 on Windows 7 (Powershell 4), buffer GitVersion output before passing to ConvertFrom-Json
This commit is contained in:
parent
b319be8d76
commit
ff8c4363e4
@ -1,6 +1,6 @@
|
|||||||
New-Item -Path publish -Type directory -Force | Out-Null
|
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
|
$nugetkey = Get-Content .nuget.apikey
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user