Syncing files instead of forcing them to mega.
This commit is contained in:
parent
6f44ea1416
commit
ca4ccaef10
@ -28,5 +28,5 @@ deployment:
|
||||
master:
|
||||
branch: master
|
||||
commands:
|
||||
- megacmd -force put MarbleGame_Windows.zip mega:/GameBuilds/
|
||||
- megacmd -force put MarbleGame_Linux.zip mega:/GameBuilds/
|
||||
- megacmd sync MarbleGame_Windows.zip mega:/GameBuilds/
|
||||
- megacmd sync MarbleGame_Linux.zip mega:/GameBuilds/
|
||||
|
@ -30,9 +30,9 @@ then
|
||||
mkdir "MarbleGame_${platform^}"
|
||||
cp -r binaries Levels Shader "MarbleGame_${platform^}"
|
||||
zip -r "MarbleGame_${platform^}.zip" "MarbleGame_${platform^}"
|
||||
if [ hash megacmd 2>/dev/null && $2 == "mega" ]
|
||||
if hash megacmd 2>/dev/null && [[ "$2" == "mega" ]]
|
||||
then
|
||||
megacmd -force put "MarbleGame_${platform^}.zip" mega:/GameBuilds/
|
||||
megacmd sync "MarbleGame_${platform^}.zip" mega:/GameBuilds/
|
||||
fi
|
||||
rm -rf "MarbleGame_${platform^}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user