diff options
author | Sauli Tähkäpää <sauli@vaadin.com> | 2015-12-16 21:55:44 +0200 |
---|---|---|
committer | Sauli Tähkäpää <sauli@vaadin.com> | 2015-12-16 21:59:08 +0200 |
commit | a235bbda45d3687f486e61b58b00112e028df055 (patch) | |
tree | ddaa561099875b6cff229d4427dda79220b8ecf7 /tasks/cdn.js | |
parent | 6fa0d7c6beafcc3b7757cd5a7aaf15151166974c (diff) | |
parent | e0d454f56deafa9ab351f699808de37b42cec56e (diff) | |
download | vaadin-core-a235bbda45d3687f486e61b58b00112e028df055.tar.gz vaadin-core-a235bbda45d3687f486e61b58b00112e028df055.zip |
Merge '0.3.0' to 'master'
Conflicts:
README.md
bower.json
package.json
tasks/config.js
Diffstat (limited to 'tasks/cdn.js')
-rw-r--r-- | tasks/cdn.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tasks/cdn.js b/tasks/cdn.js index c1ef345..b290d42 100644 --- a/tasks/cdn.js +++ b/tasks/cdn.js @@ -27,8 +27,8 @@ gulp.task('cdn:stage-bower_components', function() { }); }); -gulp.task('cdn:stage-vaadin-elements', function() { - return gulp.src(['LICENSE.html', 'README.md', 'vaadin-elements.html', 'demo/*', 'apidoc/*'], { +gulp.task('cdn:stage-vaadin-core-elements', function() { + return gulp.src(['LICENSE.html', 'README.md', 'vaadin-core-elements.html', 'demo/*', 'apidoc/*'], { base: "." }) .pipe(modify({ @@ -36,15 +36,15 @@ gulp.task('cdn:stage-vaadin-elements', function() { if (/README.md/.test(file.path)) { contents = contents.replace(/\/latest\//mg, '/' + version + '/'); } else { - contents.replace('https://cdn.vaadin.com/vaadin-elements/latest/', '../../'); + contents.replace('https://cdn.vaadin.com/vaadin-core-elements/latest/', '../../'); } return contents; } })) - .pipe(gulp.dest(stagingPath + "/vaadin-elements")); + .pipe(gulp.dest(stagingPath + "/vaadin-core-elements")); }); -gulp.task('stage:cdn', ['clean:cdn', 'cdn:stage-bower_components', 'cdn:stage-vaadin-elements']); +gulp.task('stage:cdn', ['clean:cdn', 'cdn:stage-bower_components', 'cdn:stage-vaadin-core-elements']); gulp.task('upload:cdn', ['stage:cdn'], function() { common.checkArguments(['cdnUsername', 'cdnDestination']); |