Fix missing Chart.js.zip file for Travis release

This commit is contained in:
Simon Brunel 2016-07-15 10:24:56 +02:00
parent f22754874c
commit 6572c94bd6
2 changed files with 2 additions and 1 deletions

View File

@ -40,6 +40,7 @@ deploy:
- "./dist/Chart.bundle.min.js"
- "./dist/Chart.js"
- "./dist/Chart.min.js"
- "./dist/Chart.js.zip"
skip_cleanup: true
on:
tags: true

View File

@ -113,7 +113,7 @@ function packageTask() {
.pipe(streamify(replace(/src="((?:\.\.\/)+)dist\//g, 'src="$1')))
)
// finally, create the zip archive
//.pipe(zip('Chart.js.zip'))
.pipe(zip('Chart.js.zip'))
.pipe(gulp.dest(outDir));
}