summarylogtreecommitdiffstats
path: root/fix-gulp-release.patch
diff options
context:
space:
mode:
authorMatthias Lisin2018-08-27 21:53:54 +0200
committerMatthias Lisin2018-08-27 21:53:54 +0200
commitfea950f5978bbd996373416411c33b3e38f81cbb (patch)
treea953becca45f1e15e8bc1c802a75943486cf2929 /fix-gulp-release.patch
parent22ddefaa80cf01beefbb7559b8c7374c65fbe885 (diff)
downloadaur-fea950f5978bbd996373416411c33b3e38f81cbb.tar.gz
upgpkg: rocketchat-desktop 2.13.0-1
Adjusted previous target dir patch. Added new patch to allow easy choosing between x64 and ia32.
Diffstat (limited to 'fix-gulp-release.patch')
-rw-r--r--fix-gulp-release.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/fix-gulp-release.patch b/fix-gulp-release.patch
new file mode 100644
index 000000000000..134bf3236e88
--- /dev/null
+++ b/fix-gulp-release.patch
@@ -0,0 +1,16 @@
+diff -ura package.orig/tasks/release.js package.new/tasks/release.js
+--- package.orig/tasks/release.js 2018-08-27 17:49:25.000000000 +0200
++++ package.new/tasks/release.js 2018-08-27 21:39:14.241592905 +0200
+@@ -8,10 +8,7 @@
+ const publish = getEnvName() !== 'production' ? 'never' : 'onTagOrDraft';
+ gulp.task('release:darwin', () => build({ publish, x64: true, mac: [] }));
+ gulp.task('release:win32', () => build({ publish, x64: 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', [ 'build-app', `release:${ process.platform }` ]);