From d3c15adf205ac9bf21855d393a23c6db70d825a6 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Mon, 17 Feb 2025 19:14:27 +0800 Subject: [PATCH] ci(magicleaps): switch magicleaps alpha ci to develop branch Signed-off-by: zhenyus --- .../src/com/freeleaps/devops/SemanticReleasingExecutor.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy b/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy index 73bb8d81..73c70bff 100644 --- a/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy +++ b/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy @@ -32,6 +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 "git branch --show-current" steps.sh "semantic-release" steps.log.info("SemanticReleasingExecutor", "Semantic release completed, read latest version from VERSION file") steps.env.LATEST_VERSION = steps.readFile('VERSION').trim()