feat(ci): enhance debug output in SemanticReleasingExecutor by adding user context

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-03-06 17:37:33 +08:00
parent 14be87b48d
commit 540161eac0

View File

@ -33,7 +33,7 @@ class SemanticReleasingExecutor {
// steps.sh "npm install -g ${plugins.join(' ')}"
steps.sh "git config --global --add safe.directory ${steps.env.workroot}"
steps.env.GIT_LOCAL_BRANCH = "${branch}"
steps.sh "whereis semantic-release"
steps.sh "whoami && whereis semantic-release"
steps.sh "semantic-release --debug"
steps.log.info("SemanticReleasingExecutor", "Semantic release completed, read latest version from VERSION file")
def released = steps.sh(script: 'test -f "VERSION"', returnStatus: true) == 0