summaryrefslogtreecommitdiffstats
path: root/tasks/zip.js
diff options
context:
space:
mode:
authorSauli Tähkäpää <sauli@vaadin.com>2015-12-16 21:55:44 +0200
committerSauli Tähkäpää <sauli@vaadin.com>2015-12-16 21:59:08 +0200
commita235bbda45d3687f486e61b58b00112e028df055 (patch)
treeddaa561099875b6cff229d4427dda79220b8ecf7 /tasks/zip.js
parent6fa0d7c6beafcc3b7757cd5a7aaf15151166974c (diff)
parente0d454f56deafa9ab351f699808de37b42cec56e (diff)
downloadvaadin-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/zip.js')
-rw-r--r--tasks/zip.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tasks/zip.js b/tasks/zip.js
index f8f3571..f80d0aa 100644
--- a/tasks/zip.js
+++ b/tasks/zip.js
@@ -10,7 +10,7 @@ var stagingPath = config.paths.staging.zip;
var version = config.version;
var host = config.zipHost;
var user = args.zipUsername;
-var filename = 'vaadin-elements-' + version + '.zip';
+var filename = 'vaadin-core-elements-' + version + '.zip';
var majorMinorVersion = version.replace(/(\d+\.\d+)(\.|-)(.*)/, '$1');
gulp.task('clean:zip', function() {
@@ -46,11 +46,11 @@ gulp.task('zip:upload', ['stage:zip'], function(done) {
gulp.task('zip:update-references', ['zip:upload'], function(done) {
if (args.release) {
- common.ssh(user, host, "sed -i '1i elements/" + majorMinorVersion + '/' + version + "' " + args.zipDestination + 'VERSIONS', done);
+ common.ssh(user, host, "sed -i '1i core-elements/" + majorMinorVersion + '/' + version + "' " + args.zipDestination + 'VERSIONS', done);
} else if (args.preRelease) {
- common.ssh(user, host, "sed -i '1i elements/" + majorMinorVersion + '/' + version + "' " + args.zipDestination + 'PRERELEASES', done);
+ common.ssh(user, host, "sed -i '1i core-elements/" + majorMinorVersion + '/' + version + "' " + args.zipDestination + 'PRERELEASES', done);
} else {
- common.ssh(user, host, 'echo elements/' + majorMinorVersion + '/' + version + ' > ' + args.zipDestination + 'SNAPSHOT', done);
+ common.ssh(user, host, 'echo core-elements/' + majorMinorVersion + '/' + version + ' > ' + args.zipDestination + 'SNAPSHOT', done);
}
});