mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-06 03:19:54 +00:00
fixed pull request checks
This commit is contained in:
parent
c75294e03a
commit
6749a93d49
@ -25,10 +25,10 @@ builder({
|
|||||||
identity: !process.env.CI || process.env.CSC_LINK ? undefined : null,
|
identity: !process.env.CI || process.env.CSC_LINK ? undefined : null,
|
||||||
},
|
},
|
||||||
npmRebuild: process.env.ARCH !== 'arm64',
|
npmRebuild: process.env.ARCH !== 'arm64',
|
||||||
publish: {
|
publish: process.env.GH_TOKEN ? {
|
||||||
provider: 'github',
|
provider: 'github',
|
||||||
channel: `latest-${process.env.ARCH}`,
|
channel: `latest-${process.env.ARCH}`,
|
||||||
},
|
} : undefined,
|
||||||
},
|
},
|
||||||
publish: isTag ? 'always' : 'onTagOrDraft',
|
publish: isTag ? 'always' : 'onTagOrDraft',
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
@ -15,10 +15,10 @@ builder({
|
|||||||
extraMetadata: {
|
extraMetadata: {
|
||||||
version: vars.version,
|
version: vars.version,
|
||||||
},
|
},
|
||||||
publish: {
|
publish: process.env.GH_TOKEN ? {
|
||||||
provider: 'github',
|
provider: 'github',
|
||||||
channel: `latest-${process.arch}`,
|
channel: `latest-${process.arch}`,
|
||||||
},
|
} : undefined,
|
||||||
},
|
},
|
||||||
publish: isTag ? 'always' : 'onTagOrDraft',
|
publish: isTag ? 'always' : 'onTagOrDraft',
|
||||||
}).catch(() => process.exit(1))
|
}).catch(() => process.exit(1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user