update publish script
This commit is contained in:
parent
dbe9bf09b6
commit
492a115e2b
|
@ -92,6 +92,7 @@ gulp.task('manifest', function () {
|
|||
|
||||
gulp.task('extras', function () {
|
||||
return gulp.src([
|
||||
'LICENSE',
|
||||
'src/*.*',
|
||||
'!src/*.html'
|
||||
], {
|
||||
|
|
|
@ -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...";
|
||||
|
|
Reference in a new issue