fix: add logging for completed semantic release with version information
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
b85cd67d55
commit
733a559222
@ -49,6 +49,7 @@ class SemanticReleasingExecutor {
|
|||||||
if (released) {
|
if (released) {
|
||||||
steps.env.LATEST_VERSION = steps.readFile('VERSION').trim()
|
steps.env.LATEST_VERSION = steps.readFile('VERSION').trim()
|
||||||
steps.env.SEMANTIC_RELEASED = true
|
steps.env.SEMANTIC_RELEASED = true
|
||||||
|
steps.log.info("SemanticReleasingExecutor", "Semantic release completed, version: ${steps.env.LATEST_VERSION}")
|
||||||
} else if (versionFileExists) {
|
} else if (versionFileExists) {
|
||||||
steps.log.warn("SemanticReleasingExecutor", "VERSION file exists but was not modified recently, skipping release")
|
steps.log.warn("SemanticReleasingExecutor", "VERSION file exists but was not modified recently, skipping release")
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user