mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Make repo write out an array.
This commit is contained in:
parent
77e76dd8a2
commit
5320f43491
2 changed files with 2 additions and 2 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -72,7 +72,7 @@ jobs:
|
|||
$json[0].DownloadLinkInstall = $json.DownloadLinkInstall -replace '[^/]+/Penumbra.zip',"$ver/Penumbra.zip"
|
||||
$json[0].DownloadLinkTesting = $json.DownloadLinkTesting -replace '[^/]+/Penumbra.zip',"$ver/Penumbra.zip"
|
||||
$json[0].DownloadLinkUpdate = $json.DownloadLinkUpdate -replace '[^/]+/Penumbra.zip',"$ver/Penumbra.zip"
|
||||
$content = $json | ConvertTo-Json
|
||||
$content = $json | ConvertTo-Json -AsArray
|
||||
set-content -Path $path -Value $content
|
||||
|
||||
- name: Commit repo.json
|
||||
|
|
|
|||
2
.github/workflows/test_release.yml
vendored
2
.github/workflows/test_release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue