chore: ci

oneRain 2019-07-22 11:54:20 +08:00
parent 2e20c0c668
commit 3deee90f69
2 changed files with 14 additions and 4 deletions

View File

@ -10,10 +10,12 @@ deploy:
api_key:
secure: U33UbFuAmwE/hsI3iYpUNLJ+3wkVBq5JxGd2Z03QU9jtYN+N1GCcBJ3oIsdyYZPDmwdqjcc/s2GGiy75NDljnaeI4/p+rfVw01e6Ht/CQPNioxqxmC3645YDsg8Iao0vrSP1aevurc/5Oq+DNk+s0DQn/sBK11ZxOO7dwxqBZqJSdYs6hXhenzC3qKMRw2Wu7Px/ETGbYSXlvVfmmMkw3CVutankT/QQPZM1u6uA8bJvcoPzOoUCuTMLfa+ie4O1WUYSwkyb+yYWjNkWhTo8b/scdVZjYmJ5tIIHP04AKump2kISBvXBysCdwScMvvZplJgVHc0x9qx+vvyGEWmKa3C4xDa5t0IwDHmApe6dPRc05WL9lwDh6KtiZ4vJEFvGfKPOXRmg4fDVnRIQHazMSFvFXgcwZoiPsMWnAvl45Cardbt1JLvlfGlnJ+wQ5RPev99LwvkXooJVqtEByR9AWozyGS8XFypbpFj2xpCe7ZJSmB8h0ElDsl2zmgWPeZkcOIFcVR2+2jl6B2XOnBWukxRUpeX1x+B4rDIKtTAHrkvtGNr5bb4Q6gUAQSqpvUDqV3gXdXW19H+yrlAImBFo6nS3qm/NzsVGmK+SaRzG6oOFfejW0NPnt2MdO0GV5s6L0CYp86Zpk/GrViO7AKjMqYfM2rwJS1rnLlxpTDoPcaA=
file:
- LeanCloud-CSharp-SDK.zip
- LeanCloud-Unity-SDK.zip
- "LeanCloud-Portable-SDK.zip"
- "LeanCloud-Unity-SDK.zip"
skip_cleanup: true
on:
repo: leancloud/csharp-sdk
tags: true
after_deploy:
- sudo apt-get install doxygen
- doxygen Doxyfile

View File

@ -1,6 +1,14 @@
#!/bin/sh
mkdir DLLs
rsync -avz ./Storage/Storage.PCL/bin/Release/ DLLs
rsync -avz ./RTM/RTM.PCL/bin/Release/ DLLs
rsync -avz ./LiveQuery/LiveQuery.PCL/bin/Release/ DLLs
zip -r LeanCloud-Portable-SDK.zip DLLs
rm -r DLLs
mkdir Plugins
rsync -av --exclude='UnityEngine.dll' ./Storage/Storage.PCL/bin/Release/ ./Plugins/
zip -r LeanCloud-CSharp-SDK.zip Plugins
rsync -av --exclude='UnityEngine.dll' ./Storage/Storage.Unity/bin/Release/ Plugins
rsync -av --exclude='UnityEngine.dll' ./RTM/RTM.Unity/bin/Release/ Plugins
rsync -av --exclude='UnityEngine.dll' ./LiveQuery/LiveQuery.Unity/bin/Release/ Plugins
zip -r LeanCloud-Unity-SDK.zip Plugins
rm -r Plugins