]> source.dussan.org Git - vaadin-core.git/commitdiff
cdn urls are not replaced in README.md 6/head
authorTomi Virkki <virkki@vaadin.com>
Tue, 22 Sep 2015 08:00:33 +0000 (11:00 +0300)
committerTomi Virkki <virkki@vaadin.com>
Tue, 22 Sep 2015 08:00:33 +0000 (11:00 +0300)
.gitignore
package.json
tasks/cdn.js

index 2c085d1d2fb7e1d865a5c1161f0fbbcb682af240..1dfa8a4dc625f1a6adb65874e22748fa0783c1c4 100644 (file)
@@ -1,2 +1,3 @@
 node_modules
 target
+bower_components
index b5e0726f35d4c76ee1d8f1fee6967fb65fca102e..6de4edd47c8d192709307ff4e373e15a74ce386c 100644 (file)
@@ -16,7 +16,9 @@
     "gulp-util": "latest",
     "web-component-tester": "3.3.10",
     "yargs": "latest",
-    "gulp-git": "latest"
+    "gulp-git": "latest",
+    "gulp-add-src": "latest"
+
   },
   "devDependencies": {
     "chalk": "latest",
index 755d880eca19d7d14906cba1da0646cf696eed7a..fe48cec15bc1afe90a30951f596d970c98ce5ac8 100644 (file)
@@ -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"));
 });