diff --git a/gulpfile.js b/gulpfile.js index 868b3e0..a89ee05 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -140,8 +140,7 @@ gulp.task('changelog', function () { gulp.task('update-cdn', function() { gulp.src(['./README.md']) - .pipe($.replace(/dTree@(\d\.\d\.\d)\/dist\/dTree.min.js/g, 'dTree@'+ - getPackageJsonVersion() + '/dist/dTree.min.js')) + .pipe($.replace(/(\d\.\d\.\d)\/dist\/dTree.min.js/g, getPackageJsonVersion() + '/dist/dTree.min.js')) .pipe(gulp.dest('./')); });