From 492a115e2b74dc9b676aab24109b225becac9c69 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 11 Dec 2016 14:35:38 +0800 Subject: [PATCH] update publish script --- gulpfile.js | 1 + scripts/publish_dailybuild.sh | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 8661682..d396352 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -92,6 +92,7 @@ gulp.task('manifest', function () { gulp.task('extras', function () { return gulp.src([ + 'LICENSE', 'src/*.*', '!src/*.html' ], { diff --git a/scripts/publish_dailybuild.sh b/scripts/publish_dailybuild.sh index 91e4ad9..28b2a80 100644 --- a/scripts/publish_dailybuild.sh +++ b/scripts/publish_dailybuild.sh @@ -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...";