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 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', 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));
|