mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-20 22:13:48 +00:00
Linux export
This commit is contained in:
parent
34a07342ac
commit
ce1d791f7a
3 changed files with 13 additions and 5 deletions
|
|
@ -38,5 +38,6 @@ if (Test-Path $configFile) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Step 4: Export the build
|
# Step 4: Export the build
|
||||||
& $godotPath --headless --export-release "Windows Desktop" "$buildDir\$fileName.exe"
|
& $godotPath --headless --export-release "Windows Desktop" "$buildDir\win\$fileName.exe"
|
||||||
|
|
||||||
|
& $godotPath --headless --export-release "Linux" "$buildDir\linux\$fileName.exe"
|
||||||
11
Publish.ps1
11
Publish.ps1
|
|
@ -12,14 +12,21 @@ $PreReleaseLabel = $gitVersionOutput.PreReleaseLabelWithDash
|
||||||
|
|
||||||
$zipFileName = "$fileName.$fullSemVer.zip"
|
$zipFileName = "$fileName.$fullSemVer.zip"
|
||||||
$zipFilePath = "$zipOutputDir\$zipFileName"
|
$zipFilePath = "$zipOutputDir\$zipFileName"
|
||||||
|
$zipFilePathLinux = "$zipOutputDir\$zipFileName"
|
||||||
|
|
||||||
# Zip the build folder
|
# Zip the build folder
|
||||||
if (!(Test-Path $zipOutputDir)) {
|
if (!(Test-Path $zipOutputDir)) {
|
||||||
New-Item -ItemType Directory -Path $zipOutputDir | Out-Null
|
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"
|
||||||
|
|
||||||
|
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 $zipFilePath maddoscientisto/cirno-no-reason:windows$PreReleaseLabel --userversion $fullSemVer
|
||||||
|
|
||||||
|
& $butlerPath push $zipFilePathLinux maddoscientisto/cirno-no-reason:linux$PreReleaseLabel --userversion $fullSemVer
|
||||||
|
|
@ -79,7 +79,7 @@ custom_features=""
|
||||||
export_filter="all_resources"
|
export_filter="all_resources"
|
||||||
include_filter=""
|
include_filter=""
|
||||||
exclude_filter=""
|
exclude_filter=""
|
||||||
export_path=""
|
export_path="build/linux/cirnoreason.x86_64"
|
||||||
patches=PackedStringArray()
|
patches=PackedStringArray()
|
||||||
encryption_include_filters=""
|
encryption_include_filters=""
|
||||||
encryption_exclude_filters=""
|
encryption_exclude_filters=""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue