diff options
author | Manuel Carrasco Moñino <manolo@apache.org> | 2015-09-22 10:13:28 +0200 |
---|---|---|
committer | Manuel Carrasco Moñino <manolo@apache.org> | 2015-09-22 10:13:28 +0200 |
commit | f3a7d655922ffc73460e97800d4f899fb82f0531 (patch) | |
tree | f509b86c79041ae91787e10a23ed056cb47dbd66 /tasks | |
parent | 1df08e17b8af3926d503b70296d0bbeb39704380 (diff) | |
parent | 22ffa7bb79d2f4a6eedbcd33c85e3bdf8c6a35bf (diff) | |
download | vaadin-core-f3a7d655922ffc73460e97800d4f899fb82f0531.tar.gz vaadin-core-f3a7d655922ffc73460e97800d4f899fb82f0531.zip |
Merge pull request #6 from vaadin/fix/readme_noreplace
cdn urls are not replaced in README.md
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/cdn.js | 4 |
1 files changed, 3 insertions, 1 deletions
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")); }); |