From d5d31f7d26289d737b4fef4bc9377df58bff6333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=8C=AF=E5=AE=87?= <> Date: Sat, 8 Feb 2025 10:56:49 +0800 Subject: [PATCH] fix(pipeline): specify configuration file for semantic-release execution in SemanticReleasingExecutor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙振宇 <> --- .../src/com/freeleaps/devops/SemanticReleasingExecutor.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy b/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy index 40c291e2..ba56aa0a 100644 --- a/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy +++ b/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy @@ -32,7 +32,7 @@ class SemanticReleasingExecutor { steps.log.info("SemanticReleasingExecutor", "Installing semantic-release plugins...") steps.sh "npm install -g ${plugins.join(' ')}" steps.sh "git config --global --add safe.directory ${steps.env.workroot}" - steps.sh "semantic-release" + steps.sh "semantic-release -e releaserc.json" steps.log.info("SemanticReleasingExecutor", "Semantic release completed, read latest version from VERSION file") steps.env.LATEST_VERSION = steps.readFile('VERSION').trim() }