fix stackoverflow issues

This commit is contained in:
Tommy Parnell
2016-11-08 20:28:58 -05:00
parent 2ff61218d0
commit 754d7cbff4
3 changed files with 14 additions and 6 deletions

8
update-projectjson.ps1 Normal file
View File

@@ -0,0 +1,8 @@
Get-ChildItem -Path $ENV:APPVEYOR_BUILD_FOLDER -Recurse File -Filter project.json | foreach {
$jsonFile = Get-Content $_.FullName -raw | ConvertFrom-Json
if($jsonFile.version)
{
$jsonFile.version = $ENV:APPVEYOR_BUILD_VERSION
$jsonFile | ConvertTo-Json -Depth 999 | Out-File $_.FullName
}
}