fixed pull request checks

This commit is contained in:
Eugene Pankov 2022-06-30 09:15:02 +02:00
parent c75294e03a
commit 6749a93d49
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
2 changed files with 4 additions and 4 deletions

View File

@ -25,10 +25,10 @@ builder({
identity: !process.env.CI || process.env.CSC_LINK ? undefined : null,
},
npmRebuild: process.env.ARCH !== 'arm64',
publish: {
publish: process.env.GH_TOKEN ? {
provider: 'github',
channel: `latest-${process.env.ARCH}`,
},
} : undefined,
},
publish: isTag ? 'always' : 'onTagOrDraft',
}).catch(e => {

View File

@ -15,10 +15,10 @@ builder({
extraMetadata: {
version: vars.version,
},
publish: {
publish: process.env.GH_TOKEN ? {
provider: 'github',
channel: `latest-${process.arch}`,
},
} : undefined,
},
publish: isTag ? 'always' : 'onTagOrDraft',
}).catch(() => process.exit(1))