summarylogtreecommitdiffstats
path: root/fix-gulp-release.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-gulp-release.patch')
-rw-r--r--fix-gulp-release.patch22
1 files changed, 9 insertions, 13 deletions
diff --git a/fix-gulp-release.patch b/fix-gulp-release.patch
index 82d1ccd5dd6f..f716c27978a2 100644
--- a/fix-gulp-release.patch
+++ b/fix-gulp-release.patch
@@ -1,16 +1,12 @@
-diff -ura package.orig/tasks/release.js package.new/tasks/release.js
---- package.orig/tasks/release.js 2018-08-30 22:05:26.266071116 +0200
-+++ package.new/tasks/release.js 2018-08-30 22:06:25.729735080 +0200
-@@ -9,10 +9,7 @@
+diff -ura '--exclude=electron-builder.json' package.orig/tasks/release.js package.new/tasks/release.js
+--- package.orig/tasks/release.js 2018-09-10 09:55:15.444036168 +0200
++++ package.new/tasks/release.js 2018-09-10 10:01:28.053423434 +0200
+@@ -9,6 +9,8 @@
const publish = getEnvName() !== 'production' ? 'never' : 'onTagOrDraft';
gulp.task('release:darwin', () => build({ publish, x64: true, mac: [] }));
gulp.task('release:win32', () => build({ publish, x64: true, ia32: true, win: [ 'nsis', 'appx' ] }));
--gulp.task('release:linux', (cb) => {
-- build({ publish, x64: true, linux: [] })
-- .then(() => build({ publish, ia32: true, linux: config.linux.target.filter(target => target !== 'snap') }))
-- .then(() => cb(), (error) => cb(error));
--});
-+gulp.task('release:linux-x64', () => build({ x64: true, linux: [] }));
-+gulp.task('release:linux-ia32', () => build({ ia32: true, linux: [] }));
-
- gulp.task('release', (cb) => runSequence('build-app', `release:${ process.platform }`, cb));
++gulp.task('release:linux-x64', () => build({ x64: true, linux: [], c: { productName: 'rocketchat' } }));
++gulp.task('release:linux-ia32', () => build({ ia32: true, linux: [], c: { productName: 'rocketchat' } }));
+ gulp.task('release:linux', (cb) => {
+ build({ publish, x64: true, linux: [], c: { productName: 'rocketchat' } })
+ .then(() => build({