mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-20 08:03:46 +00:00
Build tweaks
This commit is contained in:
parent
68daf9c372
commit
40179c193d
5 changed files with 93 additions and 10 deletions
|
|
@ -11,10 +11,11 @@ if (Test-Path $buildDir) {
|
|||
Remove-Item "$buildDir\*" -Recurse -Force
|
||||
} else {
|
||||
New-Item -ItemType Directory -Path $buildDir | Out-Null
|
||||
New-Item -ItemType Directory -Path $buildDir\win | Out-Null
|
||||
New-Item -ItemType Directory -Path $buildDir\linux | Out-Null
|
||||
}
|
||||
|
||||
New-Item -ItemType Directory -Path $buildDir\win | Out-Null
|
||||
New-Item -ItemType Directory -Path $buildDir\linux | Out-Null
|
||||
|
||||
# Step 2: Get version data from GitVersion
|
||||
$gitVersionOutput = & $gitVersionPath | ConvertFrom-Json
|
||||
$assemblySemFileVer = $gitVersionOutput.AssemblySemFileVer
|
||||
|
|
@ -41,6 +42,6 @@ if (Test-Path $configFile) {
|
|||
|
||||
# Step 4: Export the build
|
||||
#& $godotPath --headless --export-release "Windows Desktop" "$buildDir\$fileName.exe"
|
||||
& $godotPath --headless --export-release "Windows Desktop" "$buildDir\win\$fileName.x86_64"
|
||||
& $godotPath --headless --export-release "Windows Desktop" "$buildDir\win\$fileName.exe"
|
||||
|
||||
& $godotPath --headless --export-release "Linux" "$buildDir\linux\$fileName"
|
||||
#& $godotPath --headless --export-release "Linux" "$buildDir\linux\$fileName.x86_64"
|
||||
Loading…
Add table
Add a link
Reference in a new issue