From 24983872004bc2b2b78bd6050d6b7354f2d57918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=8C=AF=E5=AE=87?= <> Date: Fri, 7 Feb 2025 18:14:49 +0800 Subject: [PATCH] fix(pipeline): remove redundant semanticReleaseBranch validation in executeFreeleapsPipeline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙振宇 <> --- first-class-pipeline/vars/executeFreeleapsPipeline.groovy | 4 ---- 1 file changed, 4 deletions(-) diff --git a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy index e192d364..c9de80a0 100644 --- a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy +++ b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy @@ -248,10 +248,6 @@ def generateComponentStages(component, configurations) { if (component.semanticReleaseEnabled != null && component.semanticReleaseEnabled) { log.info("Pipeline", "Semantic releasing has enabled, preparing semantic release...") - if (component.semanticReleaseBranch == null || component.semanticReleaseBranch.isEmpty()) { - log.error("Pipeline", "Not set semanticReleaseBranch for ${component.name}, please set it to enable semantic release") - } - log.info("Pipeline", "Using ${component.semanticReleaseBranch} as semantic release branch for ${component.name}") env.semanticReleasingContainerImage = "docker.io/semantic-release/semantic-release:latest" }