aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-07-27 06:35:08 +0800
committerDan Finlay <dan@danfinlay.com>2016-07-27 06:35:48 +0800
commit5276897668674bb5e34923a473920564603ad292 (patch)
tree1cc4cb6fd0170ffb1b0db886041474e7306dae61 /gulpfile.js
parent2368c2993d44375203e0b85158bac707489d1137 (diff)
downloadtangerine-wallet-browser-5276897668674bb5e34923a473920564603ad292.tar
tangerine-wallet-browser-5276897668674bb5e34923a473920564603ad292.tar.gz
tangerine-wallet-browser-5276897668674bb5e34923a473920564603ad292.tar.bz2
tangerine-wallet-browser-5276897668674bb5e34923a473920564603ad292.tar.lz
tangerine-wallet-browser-5276897668674bb5e34923a473920564603ad292.tar.xz
tangerine-wallet-browser-5276897668674bb5e34923a473920564603ad292.tar.zst
tangerine-wallet-browser-5276897668674bb5e34923a473920564603ad292.zip
Store versioned builds in builds folder
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 5dbdea04b..d63a95975 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -15,6 +15,7 @@ var del = require('del')
var eslint = require('gulp-eslint')
var fs = require('fs')
var path = require('path')
+var manifest = require('./app/manifest.json')
// browser reload
@@ -113,13 +114,13 @@ gulp.task('clean', function clean() {
// zip tasks for distribution
gulp.task('zip:chrome', () => {
return gulp.src('dist/chrome/**')
- .pipe(zip('chrome.zip'))
- .pipe(gulp.dest('dist'));
+ .pipe(zip(`metamask-chrome-${manifest.version}.zip`))
+ .pipe(gulp.dest('builds'));
});
gulp.task('zip:firefox', () => {
return gulp.src('dist/firefox/**')
- .pipe(zip('firefox.zip'))
- .pipe(gulp.dest('dist'));
+ .pipe(zip(`metamask-firefox-${manifest.version}.zip`))
+ .pipe(gulp.dest('builds'));
});
gulp.task('zip', gulp.parallel('zip:chrome', 'zip:firefox'))