Skip to content

Commit

Permalink
Fix ElementMixin route
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Dec 28, 2017
1 parent 3062b13 commit 1e93af2
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-upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
}

static get version() {
return '3.0.0';
return '4.0.0-alpha1';
}

static get properties() {
Expand Down

0 comments on commit 1e93af2

Please sign in to comment.