diff options
author | Sam Potts <sam@potts.es> | 2018-01-30 13:01:05 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-01-30 13:01:05 +1100 |
commit | 2691c7c9d6ab5bcc18b29f2487b2f2e3515329c8 (patch) | |
tree | 7a1b25c482d6ea0377b4090de9777b06d9d3039d /gulpfile.js | |
parent | 26b1d8ce8fd0f047b99dbca795b9da7512e1f188 (diff) | |
download | plyr-2691c7c9d6ab5bcc18b29f2487b2f2e3515329c8.tar.lz plyr-2691c7c9d6ab5bcc18b29f2487b2f2e3515329c8.tar.xz plyr-2691c7c9d6ab5bcc18b29f2487b2f2e3515329c8.zip |
Version bump + icon fix
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js index 09a5ca4a..8f9b1836 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -312,9 +312,13 @@ if (Object.keys(aws).includes('cdn') && Object.keys(aws).includes('demo')) { .pipe(replace(cdnpath, `${aws.cdn.domain}/${version}/`)) .pipe(gulp.dest(root)); - // Replace versioned files in plyr.js + // Replace versioned URLs in source + const files = [ + 'plyr.js', + 'defaults.js', + ]; gulp - .src(path.join(root, 'src/js/plyr.js')) + .src(files.map(file => path.join(root, `src/js/${file}`))) .pipe(replace(semver, `v${version}`)) .pipe(replace(cdnpath, `${aws.cdn.domain}/${version}/`)) .pipe(gulp.dest(path.join(root, 'src/js/'))); |