summaryrefslogtreecommitdiffstats
path: root/tasks/zip.js
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2015-12-14 14:26:29 +0100
committerManolo Carrasco <manolo@apache.org>2015-12-16 08:43:01 +0100
commite7e5a16f380b5f7e3eeb37a810a43226a2f29740 (patch)
tree5c29fa2b61ac0ce345a3dc7b7751dd660dbee445 /tasks/zip.js
parent09841fb58cce28d1f6e0a1d3f4f9041e466b0963 (diff)
downloadvaadin-core-e7e5a16f380b5f7e3eeb37a810a43226a2f29740.tar.gz
vaadin-core-e7e5a16f380b5f7e3eeb37a810a43226a2f29740.zip
Rename: elements -> core-elements
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 43b21f3..5713b7e 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);
}
});