From 733a55922220961bd02389bec9f644699d56195f Mon Sep 17 00:00:00 2001 From: zhenyus Date: Mon, 21 Apr 2025 11:39:40 +0800 Subject: [PATCH] fix: add logging for completed semantic release with version information 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 5f88be8f..0c174cdd 100644 --- a/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy +++ b/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy @@ -49,6 +49,7 @@ class SemanticReleasingExecutor { if (released) { steps.env.LATEST_VERSION = steps.readFile('VERSION').trim() steps.env.SEMANTIC_RELEASED = true + steps.log.info("SemanticReleasingExecutor", "Semantic release completed, version: ${steps.env.LATEST_VERSION}") } else if (versionFileExists) { steps.log.warn("SemanticReleasingExecutor", "VERSION file exists but was not modified recently, skipping release") }