1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-09 17:18:46 +03:00

readded github releases

This commit is contained in:
Eugene Pankov 2022-10-01 15:40:50 +02:00
parent c410758cdc
commit 50392b5f46
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
3 changed files with 21 additions and 9 deletions

View File

@ -16,7 +16,13 @@ builder({
extraMetadata: {
version: vars.version,
},
publish: process.env.KEYGEN_TOKEN ? vars.keygenConfig : undefined,
publish: process.env.KEYGEN_TOKEN ? [
vars.keygenConfig,
{
provider: 'github',
channel: `latest-${process.env.ARCH}`,
},
] : undefined,
},
publish: process.env.KEYGEN_TOKEN ? isTag ? 'always' : 'onTagOrDraft' : 'never',
}).catch(e => {

View File

@ -25,13 +25,13 @@ builder({
identity: !process.env.CI || process.env.CSC_LINK ? undefined : null,
},
npmRebuild: process.env.ARCH !== 'arm64',
publish: process.env.KEYGEN_TOKEN ? {
product: {
arm64: '98fbadee-c707-4cd6-9d99-56683595a846',
x86_64: 'f5a48841-d5b8-4b7b-aaa7-cf5bffd36461',
}[process.env.ARCH],
...vars.keygenConfig,
} : undefined,
publish: process.env.KEYGEN_TOKEN ? [
vars.keygenConfig,
{
provider: 'github',
channel: `latest-${process.env.ARCH}`,
},
] : undefined,
},
publish: process.env.KEYGEN_TOKEN ? isTag ? 'always' : 'onTagOrDraft' : 'never',
}).catch(e => {

View File

@ -15,7 +15,13 @@ builder({
extraMetadata: {
version: vars.version,
},
publish: process.env.KEYGEN_TOKEN ? vars.keygenConfig : undefined,
publish: process.env.KEYGEN_TOKEN ? [
vars.keygenConfig,
{
provider: 'github',
channel: `latest-${process.env.ARCH}`,
},
] : undefined,
},
publish: process.env.KEYGEN_TOKEN ? isTag ? 'always' : 'onTagOrDraft' : 'never',
}).catch(e => {