Skip to content

Commit

Permalink
Fix ElementMixin route
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-fix committed Dec 14, 2017
1 parent af7e35f commit 27bedc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ gulp.task('lint:css', function() {

gulp.task('version:check', function() {
const expectedVersion = new RegExp('^' + require('./package.json').version + '$');
return gulp.src(['*.html'])
return gulp.src(['src/*.html'])
.pipe(htmlExtract({sel: 'script'}))
.pipe(find(/static get version.*\n.*/))
.pipe(clip()) // Remove non-matching files
Expand All @@ -76,8 +76,8 @@ gulp.task('version:update', ['version:check'], function() {
if (!newversion) {
throw new 'New version must be given as a npm_package_version environment variable.';
}
return gulp.src(['*.html'])
return gulp.src(['src/*.html'])
.pipe(replace(oldversion, newversion))
.pipe(gulp.dest('.'))
.pipe(gulp.dest('src/.'))
.pipe(git.add());
});
2 changes: 1 addition & 1 deletion src/vaadin-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

static get version() {
return '1.0.1';
return '2.0.0-alpha1';
}

static get properties() {
Expand Down

0 comments on commit 27bedc1

Please sign in to comment.