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:
कारतोफ्फेलस्क्रिप्ट™
2023-10-03 20:49:04 +02:00
committed by GitHub
parent 8f9fe6269b
commit 101255d186
13 changed files with 78 additions and 20 deletions

View File

@@ -158,13 +158,13 @@ export default defineComponent({
logoPath(): string {
if (this.isCollapsed) return this.basePath + 'n8n-logo-collapsed.svg';
return (
this.basePath +
(this.settingsStore.settings.isBetaRelease ? 'n8n-beta-logo.svg' : 'n8n-logo-expanded.svg')
);
return this.basePath + this.uiStore.logo;
},
hasVersionUpdates(): boolean {
return !this.settingsStore.settings.isBetaRelease && this.versionsStore.hasVersionUpdates;
return (
this.settingsStore.settings.releaseChannel === 'stable' &&
this.versionsStore.hasVersionUpdates
);
},
nextVersions(): IVersion[] {
return this.versionsStore.nextVersions;