Make repo write out an array.

This commit is contained in:
Ottermandias 2023-05-31 15:11:13 +02:00
parent 77e76dd8a2
commit 5320f43491
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ jobs:
$json = Get-Content -Raw $path | ConvertFrom-Json
$json[0].TestingAssemblyVersion = $ver
$json[0].DownloadLinkTesting = $json.DownloadLinkTesting -replace '[^/]+/Penumbra.zip',"$verT/Penumbra.zip"
$content = $json | ConvertTo-Json
$content = $json | ConvertTo-Json -AsArray
set-content -Path $path -Value $content
- name: Commit repo.json