mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Add load priority to release script.
This commit is contained in:
parent
ca7c997606
commit
dda2587e89
1 changed files with 4 additions and 3 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
asset_path: ./Penumbra.zip
|
asset_path: ./Penumbra.zip
|
||||||
asset_name: Penumbra.zip
|
asset_name: Penumbra.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|
||||||
- name: Write out repo.json
|
- name: Write out repo.json
|
||||||
run: |
|
run: |
|
||||||
$ver = '${{ github.ref }}' -replace 'refs/tags/',''
|
$ver = '${{ github.ref }}' -replace 'refs/tags/',''
|
||||||
|
|
@ -78,6 +78,7 @@ jobs:
|
||||||
$json += ' "IsTestingExclusive": "False",'
|
$json += ' "IsTestingExclusive": "False",'
|
||||||
$json += ' "DownloadCount": 0,'
|
$json += ' "DownloadCount": 0,'
|
||||||
$json += ' "LastUpdate": 0,'
|
$json += ' "LastUpdate": 0,'
|
||||||
|
$json += ' "LoadPriority": 69420,'
|
||||||
$json += ' "DownloadLinkInstall": "https://github.com/xivdev/Penumbra/releases/download/1.0.0.0/Penumbra.zip",'
|
$json += ' "DownloadLinkInstall": "https://github.com/xivdev/Penumbra/releases/download/1.0.0.0/Penumbra.zip",'
|
||||||
$json += ' "DownloadLinkTesting": "https://github.com/xivdev/Penumbra/releases/download/1.0.0.0/Penumbra.zip",'
|
$json += ' "DownloadLinkTesting": "https://github.com/xivdev/Penumbra/releases/download/1.0.0.0/Penumbra.zip",'
|
||||||
$json += ' "DownloadLinkUpdate": "https://github.com/xivdev/Penumbra/releases/download/1.0.0.0/Penumbra.zip",'
|
$json += ' "DownloadLinkUpdate": "https://github.com/xivdev/Penumbra/releases/download/1.0.0.0/Penumbra.zip",'
|
||||||
|
|
@ -87,7 +88,7 @@ jobs:
|
||||||
|
|
||||||
$json = $json -replace '1.0.0.0',$ver
|
$json = $json -replace '1.0.0.0',$ver
|
||||||
set-content -Path "./repo.json" -Value $json
|
set-content -Path "./repo.json" -Value $json
|
||||||
|
|
||||||
- name: Commit repo.json
|
- name: Commit repo.json
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "Actions User"
|
git config --global user.name "Actions User"
|
||||||
|
|
@ -97,4 +98,4 @@ jobs:
|
||||||
git add repo.json
|
git add repo.json
|
||||||
git commit -m "[CI] Updating repo.json for ${{ github.ref }}" || true
|
git commit -m "[CI] Updating repo.json for ${{ github.ref }}" || true
|
||||||
|
|
||||||
git push origin master || true
|
git push origin master || true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue