From f2b960637add5110e0f2978bf2cca1bf4b0b6c05 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Thu, 27 Nov 2014 12:09:45 +0100 Subject: [PATCH] Always uploading Windows build. --- circle.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/circle.yml b/circle.yml index 24f339b..a0ffda0 100644 --- a/circle.yml +++ b/circle.yml @@ -22,12 +22,11 @@ test: override: - docker run -v ~/swp:/swp/swp -w=/swp/swp -u=$(id -u) faerbit/swp ./package.sh linux - docker run -v ~/swp:/swp/swp -w=/swp/swp -u=$(id -u) faerbit/swp ./package.sh windows - - cp MarbleGame_Linux.zip $CIRCLE_ARTIFACTS - - if [ $(ls MarbleGame_Windows.zip 2> /dev/null) ]; then cp MarbleGame_Windows.zip $CIRCLE_ARTIFACTS; fi + - cp MarbleGame_Windows.zip MarbleGame_Linux.zip $CIRCLE_ARTIFACTS deployment: master: branch: master commands: - - if [ $(ls MarbleGame_Windows.zip) ];then megacmd -force put MarbleGame_Windows.zip mega:/GameBuilds/; fi + - megacmd -force put MarbleGame_Windows.zip mega:/GameBuilds/ - megacmd -force put MarbleGame_Linux.zip mega:/GameBuilds/