Updated gulp to version assets correctly

This commit is contained in:
Sam Potts
2015-03-03 00:14:31 +11:00
parent 148481eccc
commit 894ac8088d
3 changed files with 7 additions and 6 deletions

View File

@ -234,6 +234,7 @@ gulp.task("docs", function () {
// Replace versioned files in index.html
gulp.src([paths.docs.root + "index.html"])
.pipe(replace(cdnpath, aws.cdn.bucket + "/" + version))
.pipe(gulp.dest(paths.docs.root))
.pipe(gzip())
.pipe(s3(aws.docs, options.docs));
});