From 7a83d5977fe7192451e86586f6be2d2704b9450a Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 1 Jun 2016 21:47:35 +0200 Subject: use display version instead of upload version in dist tarball --- gulpfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index f50a750ae..2b42f3ef7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -207,14 +207,14 @@ gulp.task("manifest-unstable", ["clean"], function () { gulp.task("package-stable", ["compile-prod", "dist-prod", "manifest-stable"], function () { - let zipname = String.prototype.concat("taler-wallet-stable-", manifest.version, ".zip"); + let zipname = String.prototype.concat("taler-wallet-stable-", manifest.version_name, "-", manifest.version, ".zip"); return gulp.src("build/ext/**", {buffer: false, stripBOM: false}) .pipe(zip(zipname)) .pipe(gulp.dest("build/")); }); gulp.task("package-unstable", ["compile-prod", "dist-prod", "manifest-unstable"], function () { - let zipname = String.prototype.concat("taler-wallet-unstable-", manifest.version, ".zip"); + let zipname = String.prototype.concat("taler-wallet-unstable-", manifest.version_name, "-", manifest.version, ".zip"); return gulp.src("build/ext/**", {buffer: false, stripBOM: false}) .pipe(zip(zipname)) .pipe(gulp.dest("build/")); @@ -225,7 +225,7 @@ gulp.task("package-unstable", ["compile-prod", "dist-prod", "manifest-unstable"] * Create source distribution. */ gulp.task("srcdist", [], function () { - let name = String.prototype.concat("taler-wallet-webex-", manifest.version); + let name = String.prototype.concat("taler-wallet-webex-", manifest.version_name); return gulp.src(paths.srcdist, {buffer: false, stripBOM: false, base: "."}) .pipe(rename(function (p) { p.dirname = name + "/" + p.dirname; })) .pipe(tar(name + "-src.tar")) @@ -239,7 +239,7 @@ gulp.task("srcdist", [], function () { * French copyright application. */ gulp.task("appdist", [], function () { - let zipname = String.prototype.concat("taler-wallet-webex-", manifest.version, "-appsrc.zip"); + let zipname = String.prototype.concat("taler-wallet-webex-", manifest.version_name, "-appsrc.zip"); return gulp.src(paths.appdist, {buffer: false, stripBOM: false, base: "."}) .pipe(zip(zipname)) .pipe(gulp.dest(".")); -- cgit v1.2.3