Check if windows build exists before trying to do anything with it.

This commit is contained in:
Faerbit 2014-11-27 00:23:51 +01:00
parent 7bbce093fb
commit 9b382b0d3d

View File

@ -28,10 +28,11 @@ test:
- ./package.sh linux - ./package.sh linux
- ./package.sh windows - ./package.sh windows
- cp MarbleGame_Linux.zip $CIRCLE_ARTIFACTS - cp MarbleGame_Linux.zip $CIRCLE_ARTIFACTS
- if [ $(ls MarbleGame_Windows.zip) ];then;cp MarbleGame_Windows.zip $CIRCLE_ARTIFACTS; fi
deployment: deployment:
master: master:
branch: master branch: master
commands: commands:
- megacmd -force put MarbleGame_Windows.zip mega:/GameBuilds/ - if [ $(ls MarbleGame_Windows.zip) ];then; megacmd -force put MarbleGame_Windows.zip mega:/GameBuilds/; fi
- megacmd -force put MarbleGame_Linux.zip mega:/GameBuilds/ - megacmd -force put MarbleGame_Linux.zip mega:/GameBuilds/