summarylogtreecommitdiffstats
path: root/fix-gulp-release.patch
blob: d3065bae393e73b6b62e07f83b499fffa5cecda4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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' } }));