summarylogtreecommitdiffstats
path: root/fix-gulp-release.patch
diff options
context:
space:
mode:
authorMatthias Lisin2018-10-11 11:51:37 +0200
committerMatthias Lisin2018-10-11 11:51:37 +0200
commit0f703e3b4f0ad7421583428ecf3dc245bbe5b6a8 (patch)
treed030d1df8acb8350398ea041d2666258db905b19 /fix-gulp-release.patch
parent60404b4eee5eb0f71b229997cfa0adb217fc3d82 (diff)
downloadaur-0f703e3b4f0ad7421583428ecf3dc245bbe5b6a8.tar.gz
upgpkg: rocketchat-desktop-2.14.0-1
Removed version pinning. Go with the flow or die. Removed sed from makedepends. Renewed the patches since one failed to apply.
Diffstat (limited to 'fix-gulp-release.patch')
-rw-r--r--fix-gulp-release.patch24
1 files changed, 14 insertions, 10 deletions
diff --git a/fix-gulp-release.patch b/fix-gulp-release.patch
index f716c27978a2..9f8c8fb3152f 100644
--- a/fix-gulp-release.patch
+++ b/fix-gulp-release.patch
@@ -1,12 +1,16 @@
-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 @@
+diff -ura package.orig/tasks/release.js package.new/tasks/release.js
+--- package.orig/tasks/release.js 2018-10-11 11:21:11.827710902 +0200
++++ package.new/tasks/release.js 2018-10-11 11:23:28.795072470 +0200
+@@ -9,10 +9,7 @@
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-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({
+ 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:linux-x64', () => build({ x64: true, linux: [], c: { productName: 'rocketchat' } }));
++gulp.task('release:linux-ia32', () => build({ ia32: true, linux: [], c: { productName: 'rocketchat' } }));
+
+ gulp.task('release', (cb) => runSequence('build-app', `release:${ process.platform }`, cb));