update publish script

master
MaysWind 2016-12-11 14:35:38 +08:00
parent dbe9bf09b6
commit 492a115e2b
2 changed files with 1 additions and 2 deletions

View File

@ -92,6 +92,7 @@ gulp.task('manifest', function () {
gulp.task('extras', function () {
return gulp.src([
'LICENSE',
'src/*.*',
'!src/*.html'
], {

View File

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