mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
ci: Make builds release-channel aware. Add support for scheduled beta builds (#7323)
ADO-1121 --------- Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
committed by
GitHub
parent
8f9fe6269b
commit
101255d186
@@ -249,7 +249,7 @@ export class Server extends AbstractServer {
|
||||
urlBaseWebhook,
|
||||
urlBaseEditor: instanceBaseUrl,
|
||||
versionCli: '',
|
||||
isBetaRelease: config.getEnv('generic.isBetaRelease'),
|
||||
releaseChannel: config.getEnv('generic.releaseChannel'),
|
||||
oauthCallbackUrls: {
|
||||
oauth1: `${instanceBaseUrl}/${this.restEndpoint}/oauth1-credential/callback`,
|
||||
oauth2: `${instanceBaseUrl}/${this.restEndpoint}/oauth2-credential/callback`,
|
||||
|
||||
@@ -432,11 +432,11 @@ export const schema = {
|
||||
default: 'main',
|
||||
},
|
||||
|
||||
isBetaRelease: {
|
||||
doc: 'If it is a beta release',
|
||||
format: 'Boolean',
|
||||
default: false,
|
||||
env: 'IS_BETA_RELEASE',
|
||||
releaseChannel: {
|
||||
doc: 'N8N release channel',
|
||||
format: ['stable', 'beta', 'nightly', 'dev'] as const,
|
||||
default: 'dev',
|
||||
env: 'N8N_RELEASE_TYPE',
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user