mirror of
https://github.com/netzbegruenung/Rocket.Chat.Electron.git
synced 2024-05-05 07:23:40 +02:00
Fix Windows releases
This commit is contained in:
parent
f55b8ab805
commit
f70e6b0bc9
|
@ -9,7 +9,6 @@ clone_depth: 1
|
|||
cache:
|
||||
- "%LOCALAPPDATA%/Yarn"
|
||||
- node_modules -> package.json
|
||||
- app/node_modules -> app/package.json
|
||||
|
||||
branches:
|
||||
only:
|
||||
|
|
|
@ -36,6 +36,12 @@
|
|||
"entitlementsInherit": "build/entitlements.mas.inherit.plist",
|
||||
"artifactName": "rocketchat-${version}-mas.${ext}"
|
||||
},
|
||||
"win": {
|
||||
"target": [
|
||||
"nsis",
|
||||
"appx"
|
||||
]
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
"perMachine": false,
|
||||
|
@ -52,7 +58,7 @@
|
|||
"en-GB",
|
||||
"pt-BR"
|
||||
],
|
||||
"artifactName": "rocketchat-setup-${version}.${ext}"
|
||||
"artifactName": "rocketchat-${version}-${arch}.${ext}"
|
||||
},
|
||||
"linux": {
|
||||
"desktop": {
|
||||
|
|
|
@ -8,7 +8,7 @@ const { getEnvName } = require('./utils');
|
|||
|
||||
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:win32', () => build({ publish, x64: true, ia32: 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') }))
|
||||
|
|
Loading…
Reference in a new issue