From 9b382b0d3d95f1719703c72704a1a83e188a45d0 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Thu, 27 Nov 2014 00:23:51 +0100 Subject: [PATCH] Check if windows build exists before trying to do anything with it. --- circle.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 856f704..d9e99c1 100644 --- a/circle.yml +++ b/circle.yml @@ -28,10 +28,11 @@ test: - ./package.sh linux - ./package.sh windows - cp MarbleGame_Linux.zip $CIRCLE_ARTIFACTS + - if [ $(ls MarbleGame_Windows.zip) ];then;cp MarbleGame_Windows.zip $CIRCLE_ARTIFACTS; fi deployment: master: branch: master 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/