update publish script
This commit is contained in:
parent
dbe9bf09b6
commit
492a115e2b
|
@ -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'
|
||||||
], {
|
], {
|
||||||
|
|
|
@ -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...";
|
||||||
|
|
Reference in a new issue