mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 07:45:33 +00:00
Linux export
This commit is contained in:
parent
34a07342ac
commit
ce1d791f7a
3 changed files with 13 additions and 5 deletions
13
Publish.ps1
13
Publish.ps1
|
|
@ -12,14 +12,21 @@ $PreReleaseLabel = $gitVersionOutput.PreReleaseLabelWithDash
|
|||
|
||||
$zipFileName = "$fileName.$fullSemVer.zip"
|
||||
$zipFilePath = "$zipOutputDir\$zipFileName"
|
||||
$zipFilePathLinux = "$zipOutputDir\$zipFileName"
|
||||
|
||||
# Zip the build folder
|
||||
if (!(Test-Path $zipOutputDir)) {
|
||||
New-Item -ItemType Directory -Path $zipOutputDir | Out-Null
|
||||
}
|
||||
|
||||
Compress-Archive -Path "$buildDir\*" -DestinationPath $zipFilePath -Force
|
||||
Compress-Archive -Path "$buildDir\win\*" -DestinationPath $zipFilePath -Force
|
||||
|
||||
Write-Host "Build completed and packaged as $zipFilePath"
|
||||
Write-Host "Windows Build completed and packaged as $zipFilePath"
|
||||
|
||||
& $butlerPath push $zipFilePath maddoscientisto/cirno-no-reason:windows$PreReleaseLabel --userversion $fullSemVer
|
||||
Compress-Archive -Path "$buildDir\linux\*" -DestinationPath $zipFilePathLinux -Force
|
||||
|
||||
Write-Host "Linux Build completed and packaged as $zipFilePathLinux"
|
||||
|
||||
& $butlerPath push $zipFilePath maddoscientisto/cirno-no-reason:windows$PreReleaseLabel --userversion $fullSemVer
|
||||
|
||||
& $butlerPath push $zipFilePathLinux maddoscientisto/cirno-no-reason:linux$PreReleaseLabel --userversion $fullSemVer
|
||||
Loading…
Add table
Add a link
Reference in a new issue