From b66aef4f02199b686c93eb3cacc68b9dce2df7df Mon Sep 17 00:00:00 2001 From: Tarun Pothulapati Date: Wed, 30 Mar 2022 08:12:48 +0000 Subject: [PATCH] werft: publish kots release even when not main --- .werft/jobs/build/publish-kots-unstable.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.werft/jobs/build/publish-kots-unstable.ts b/.werft/jobs/build/publish-kots-unstable.ts index 1c6946b63b376c..d2bc2b2fd37d15 100644 --- a/.werft/jobs/build/publish-kots-unstable.ts +++ b/.werft/jobs/build/publish-kots-unstable.ts @@ -12,7 +12,7 @@ const REPLICATED_YAML_DIR = './install/kots/manifests'; const INSTALLER_JOB_IMAGE = 'spec.template.spec.containers[0].image'; export async function publishKotsUnstable(werft: Werft, config: JobConfig) { - if (config.mainBuild) { + // if (config.mainBuild) { werft.phase(phases.PUBLISH_KOTS_UNSTABLE, 'Publish unstable release to KOTS'); const imageAndTag = exec(`yq r ${REPLICATED_YAML_DIR}/gitpod-installer-job.yaml ${INSTALLER_JOB_IMAGE}`); @@ -35,5 +35,5 @@ export async function publishKotsUnstable(werft: Werft, config: JobConfig) { --promote ${REPLICATED_CHANNEL}`); werft.done(phases.PUBLISH_KOTS_UNSTABLE); - } + // } }