update publish script

This commit is contained in:
MaysWind 2016-12-11 02:26:14 +08:00
parent 9f31ad65c6
commit dbe9bf09b6

View file

@ -1,7 +1,9 @@
if [ $CI == "true" ] && [ $CIRCLE_BRANCH == "master" ]; then if [ $CI == "true" ] && [ $CIRCLE_BRANCH == "master" ]; then
echo "Packaging daily build..."; echo "Packaging daily build...";
cd dist; cd dist;
cp ../LICENSE ./;
zip $CIRCLE_ARTIFACTS/dist.zip * -r -9; zip $CIRCLE_ARTIFACTS/dist.zip * -r -9;
rm -f LICENSE;
cd ..; cd ..;
echo "Publishing online demo..."; echo "Publishing online demo...";