feat(ci): enhance debug output in SemanticReleasingExecutor by adding user context
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
14be87b48d
commit
540161eac0
@ -33,7 +33,7 @@ class SemanticReleasingExecutor {
|
|||||||
// steps.sh "npm install -g ${plugins.join(' ')}"
|
// steps.sh "npm install -g ${plugins.join(' ')}"
|
||||||
steps.sh "git config --global --add safe.directory ${steps.env.workroot}"
|
steps.sh "git config --global --add safe.directory ${steps.env.workroot}"
|
||||||
steps.env.GIT_LOCAL_BRANCH = "${branch}"
|
steps.env.GIT_LOCAL_BRANCH = "${branch}"
|
||||||
steps.sh "whereis semantic-release"
|
steps.sh "whoami && whereis semantic-release"
|
||||||
steps.sh "semantic-release --debug"
|
steps.sh "semantic-release --debug"
|
||||||
steps.log.info("SemanticReleasingExecutor", "Semantic release completed, read latest version from VERSION file")
|
steps.log.info("SemanticReleasingExecutor", "Semantic release completed, read latest version from VERSION file")
|
||||||
def released = steps.sh(script: 'test -f "VERSION"', returnStatus: true) == 0
|
def released = steps.sh(script: 'test -f "VERSION"', returnStatus: true) == 0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user