mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-03 19:00:39 +08:00
abort download if no package.
This commit is contained in:
parent
cf984e17a3
commit
e0301acad9
@ -3,10 +3,10 @@ cd package/win
|
||||
./compile_wrapper.ps1 524 | Write-Output
|
||||
./package_win32.ps1 524| Write-Output
|
||||
cd ../../
|
||||
Add-AppveyorCompilationMessage -Message "Uploading to server."
|
||||
& ./package/deploy/winscp.ps1 -DIR win -KEY $env:APPVEYOR_BUILD_FOLDER/package/deploy/slic3r-upload.ppk -FILE *.zip *>> ./sftplog.txt
|
||||
|
||||
if (!(Test-Path C:\project\slic3r\slic3r.par)) {
|
||||
Add-AppveyorCompilationMessage -Message "Failed to package!" -Category Error
|
||||
return 1
|
||||
}
|
||||
|
||||
Add-AppveyorCompilationMessage -Message "Uploading to server."
|
||||
& ./package/deploy/winscp.ps1 -DIR win -KEY $env:APPVEYOR_BUILD_FOLDER/package/deploy/slic3r-upload.ppk -FILE *.zip *>> ./sftplog.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user