From 3deee90f696d48cb0902abc82fb22d3cc6637a1c Mon Sep 17 00:00:00 2001 From: oneRain Date: Mon, 22 Jul 2019 11:54:20 +0800 Subject: [PATCH] chore: ci --- .travis.yml | 6 ++++-- script/package.sh | 12 ++++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index c6131d6..ad20667 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/script/package.sh b/script/package.sh index 9772495..34a407d 100644 --- a/script/package.sh +++ b/script/package.sh @@ -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 \ No newline at end of file