mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-04 05:51:17 +00:00
Build tweaks
This commit is contained in:
parent
68daf9c372
commit
40179c193d
5 changed files with 93 additions and 10 deletions
11
Publish.ps1
11
Publish.ps1
|
|
@ -10,23 +10,24 @@ $assemblySemVer = $gitVersionOutput.AssemblySemVer
|
|||
$fullSemVer = $gitVersionOutput.FullSemVer
|
||||
$PreReleaseLabel = $gitVersionOutput.PreReleaseLabelWithDash
|
||||
|
||||
$zipFileName = "$fileName.$fullSemVer.zip"
|
||||
$zipFileName = "$fileName.$fullSemVer.win.zip"
|
||||
$zipFileNameLinux = "$fileName.$fullSemVer.linux.zip"
|
||||
$zipFilePath = "$zipOutputDir\$zipFileName"
|
||||
$zipFilePathLinux = "$zipOutputDir\$zipFileName"
|
||||
$zipFilePathLinux = "$zipOutputDir\$zipFileNameLinux"
|
||||
|
||||
# Zip the build folder
|
||||
if (!(Test-Path $zipOutputDir)) {
|
||||
New-Item -ItemType Directory -Path $zipOutputDir | Out-Null
|
||||
}
|
||||
|
||||
#Compress-Archive -Path "$buildDir\win\*" -DestinationPath $zipFilePath -Force
|
||||
Compress-Archive -Path "$buildDir\*" -DestinationPath $zipFilePath -Force
|
||||
Compress-Archive -Path "$buildDir\win\*" -DestinationPath $zipFilePath -Force
|
||||
#Compress-Archive -Path "$buildDir\*" -DestinationPath $zipFilePath -Force
|
||||
|
||||
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"
|
||||
#Write-Host "Linux Build completed and packaged as $zipFilePathLinux"
|
||||
|
||||
& $butlerPath push $zipFilePath maddoscientisto/cirno-no-reason:windows$PreReleaseLabel --userversion $fullSemVer
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue