update publish script

This commit is contained in:
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 () { gulp.task('extras', function () {
return gulp.src([ return gulp.src([
'LICENSE',
'src/*.*', 'src/*.*',
'!src/*.html' '!src/*.html'
], { ], {

View file

@ -1,9 +1,7 @@
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...";