From 22ffa7bb79d2f4a6eedbcd33c85e3bdf8c6a35bf Mon Sep 17 00:00:00 2001 From: Tomi Virkki Date: Tue, 22 Sep 2015 11:00:33 +0300 Subject: cdn urls are not replaced in README.md --- tasks/cdn.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tasks') diff --git a/tasks/cdn.js b/tasks/cdn.js index 755d880..fe48cec 100644 --- a/tasks/cdn.js +++ b/tasks/cdn.js @@ -10,6 +10,7 @@ var gutil = require('gulp-util'); var _ = require('lodash'); var args = require('yargs').argv; var git = require('gulp-git'); +var addsrc = require('gulp-add-src'); var stagingBasePath = config.paths.staging.cdn; var version = config.version; @@ -31,8 +32,9 @@ gulp.task('cdn:stage-bower_components', function() { }); gulp.task('cdn:stage-vaadin-components', function() { - return gulp.src(['README.md', 'LICENSE.html', 'ga.js', 'vaadin-components.html', 'demo/*', 'apidoc/*'], {base:"."}) + return gulp.src(['LICENSE.html', 'ga.js', 'vaadin-components.html', 'demo/*', 'apidoc/*'], {base:"."}) .pipe(replace('https://cdn.vaadin.com/vaadin-components/latest/', '../../')) + .pipe(addsrc('README.md')) .pipe(gulp.dest(stagingPath + "/vaadin-components")); }); -- cgit v1.2.3