mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
parent
b82c2d8766
commit
a496da3998
1 changed files with 1 additions and 10 deletions
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
|
@ -80,19 +80,10 @@ jobs:
|
|||
if ($oldVersion -eq $newVersion) {
|
||||
Remove-Item .\canary.zip
|
||||
} else {
|
||||
Copy-Item -Force ".\canary.zip" ".\${branchName}\latest.zip"
|
||||
Move-Item -Force ".\canary.zip" ".\${branchName}\latest.zip"
|
||||
$versionData.AssemblyVersion = $newVersion
|
||||
$versionData | add-member -Force -Name "GitSha" $newVersion -MemberType NoteProperty
|
||||
$versionData | ConvertTo-Json -Compress | Out-File ".\${branchName}\version"
|
||||
|
||||
# TEMP for net7
|
||||
if ($branchName -eq "stg") {
|
||||
Copy-Item -Force ".\canary.zip" ".\net7\latest.zip"
|
||||
$versionData.RuntimeVersion = "7.0.0"
|
||||
$versionData | ConvertTo-Json -Compress | Out-File ".\net7\version"
|
||||
}
|
||||
|
||||
Remove-Item .\canary.zip
|
||||
}
|
||||
|
||||
echo "DVER=${newVersion}" >> $Env:GITHUB_ENV
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue