Skip to content

Commit

Permalink
Update paths in gulpfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TimvdLippe committed Aug 21, 2018
1 parent 2957e9d commit f845842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ gulp.task('lint', gulp.series('lint-eslint'));
gulp.task('generate-types', gulp.series('generate-typescript'));

gulp.task('update-version', () => {
return gulp.src('polymer-element.js')
return gulp.src('lib/mixins/element-mixin.js')
.pipe(replace(/(export const version = )'\d+\.\d+\.\d+'/, `$1'${require('./package.json').version}'`))
.pipe(gulp.dest('.'));
.pipe(gulp.dest('lib/mixins'));
});

0 comments on commit f845842

Please sign in to comment.