Always uploading Windows build.

This commit is contained in:
Faerbit 2014-11-27 12:09:45 +01:00
parent 0b2a8a12f3
commit f2b960637a

View File

@ -22,12 +22,11 @@ test:
override: 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 linux
- docker run -v ~/swp:/swp/swp -w=/swp/swp -u=$(id -u) faerbit/swp ./package.sh windows - docker run -v ~/swp:/swp/swp -w=/swp/swp -u=$(id -u) faerbit/swp ./package.sh windows
- cp MarbleGame_Linux.zip $CIRCLE_ARTIFACTS - cp MarbleGame_Windows.zip MarbleGame_Linux.zip $CIRCLE_ARTIFACTS
- if [ $(ls MarbleGame_Windows.zip 2> /dev/null) ]; then cp MarbleGame_Windows.zip $CIRCLE_ARTIFACTS; fi
deployment: deployment:
master: master:
branch: master branch: master
commands: 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/ - megacmd -force put MarbleGame_Linux.zip mega:/GameBuilds/