summarylogtreecommitdiffstats
path: root/fix-gulp-release.patch
diff options
context:
space:
mode:
authorMatthias Lisin2019-03-13 21:31:46 +0100
committerMatthias Lisin2019-03-13 21:31:46 +0100
commit83d574224f8121256b3fad2558d533c0881acfea (patch)
tree29ae2a407dde13e77fcee8ed09e18488dc54083b /fix-gulp-release.patch
parent81886b9071f0f372632d4f2591cf96dab33c9873 (diff)
downloadaur-83d574224f8121256b3fad2558d533c0881acfea.tar.gz
upgpkg: rocketchat-desktop 2.15.1-1
Diffstat (limited to 'fix-gulp-release.patch')
-rw-r--r--fix-gulp-release.patch32
1 files changed, 17 insertions, 15 deletions
diff --git a/fix-gulp-release.patch b/fix-gulp-release.patch
index d3065bae393e..97a54f3775e4 100644
--- a/fix-gulp-release.patch
+++ b/fix-gulp-release.patch
@@ -1,16 +1,18 @@
diff -ura package.orig/tasks/release.js package.new/tasks/release.js
---- package.orig/tasks/release.js 2019-02-24 19:19:17.230601550 +0100
-+++ package.new/tasks/release.js 2019-02-24 19:22:03.772035574 +0100
-@@ -8,10 +8,5 @@
- const publish = env !== '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', async() => {
-- const allLinuxTargetsButSnap = config.linux.target.filter((target) => target !== 'snap');
-- await build({ publish, x64: true, linux: [], c: { productName: 'rocketchat' } });
-- await build({ publish, ia32: true, linux: allLinuxTargetsButSnap, c: { productName: 'rocketchat' } });
--});
--
--gulp.task('release', gulp.series('build-app', `release:${ process.platform }`));
-+gulp.task('release:linux-x64', () => build({ publish, x64: true, linux: [], c: { productName: 'rocketchat' } }));
-+gulp.task('release:linux-ia32', () => build({ publish, ia32: true, linux: [], c: { productName: 'rocketchat' } }));
+--- package.orig/tasks/release.js 2019-03-13 20:47:32.334253693 +0100
++++ package.new/tasks/release.js 2019-03-13 20:57:20.456395083 +0100
+@@ -11,6 +11,14 @@
+ await build({ publish, x64, mac: [] });
+ });
+
++gulp.task('release:linux-x64', async() => {
++ await build({ publish: 'never', x64, linux: [], c: { productName: 'rocketchat' } });
++});
++
++gulp.task('release:linux-ia32', async() => {
++ await build({ publish: 'never', ia32, linux: [], c: { productName: 'rocketchat' } });
++});
++
+ gulp.task('release:linux', async() => {
+ const { linux: { target } } = require('../electron-builder.json');
+ const publish = getEnv() === 'production' ? 'onTagOrDraft' : 'never';