Skip to content

Commit

Permalink
fix: Bug in build script to update CDN link
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikGartner committed Feb 23, 2019
1 parent 027de86 commit 2525601
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('./'));
});

Expand Down

0 comments on commit 2525601

Please sign in to comment.