Skip to content

Commit b66aef4

Browse files
committed
werft: publish kots release even when not main
1 parent 8bd705c commit b66aef4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.werft/jobs/build/publish-kots-unstable.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const REPLICATED_YAML_DIR = './install/kots/manifests';
1212
const INSTALLER_JOB_IMAGE = 'spec.template.spec.containers[0].image';
1313

1414
export async function publishKotsUnstable(werft: Werft, config: JobConfig) {
15-
if (config.mainBuild) {
15+
// if (config.mainBuild) {
1616
werft.phase(phases.PUBLISH_KOTS_UNSTABLE, 'Publish unstable release to KOTS');
1717

1818
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) {
3535
--promote ${REPLICATED_CHANNEL}`);
3636

3737
werft.done(phases.PUBLISH_KOTS_UNSTABLE);
38-
}
38+
// }
3939
}

0 commit comments

Comments
 (0)