summaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-06-01 21:47:35 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-06-01 21:47:35 +0200
commit7a83d5977fe7192451e86586f6be2d2704b9450a (patch)
tree65aaef98d4e461a0cb5c1e2ec1617593932b363e /gulpfile.js
parent3a345434ee3758162287b86be08993f27e3dbd84 (diff)
downloadwallet-core-7a83d5977fe7192451e86586f6be2d2704b9450a.tar.gz
wallet-core-7a83d5977fe7192451e86586f6be2d2704b9450a.tar.bz2
wallet-core-7a83d5977fe7192451e86586f6be2d2704b9450a.zip
use display version instead of upload version in dist tarball
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js8
1 files changed, 4 insertions, 4 deletions
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("."));