Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
a08381 authored Aug 9, 2022
1 parent 78166e1 commit 2c7a6ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ jobs:
$old_version = $version -replace '9.9.9.9',$repo.AssemblyVersion
$new_version = $version -replace '9.9.9.9',$plugin.AssemblyVersion
$content = $content -replace $old_version,$new_version
$api_level = '"DalamudApiLevel": 9999'
$old_api_level = $api_level -replace '9999',$repo.DalamudApiLevel
$new_api_level = $api_level -replace '9999',$plugin.DalamudApiLevel
$content = $content -replace $old_api_level,$new_api_level
Set-Content -Path ".\dist\repo.json" -Value $content
Copy-Item -Path .\SkipCutscene\bin\Package\latest.zip -Destination .\dist\ -Force
cd dist
Expand Down

0 comments on commit 2c7a6ef

Please sign in to comment.