feat(pipeline): add installation of semantic-release requirements in SemanticReleasingExecutor
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
0b54a77d9e
commit
80dd57433c
@ -25,6 +25,8 @@ class SemanticReleasingExecutor {
|
||||
|
||||
steps.dir(steps.env.workroot) {
|
||||
steps.writeFile file: 'releaserc.json', text: steps.libraryResource(config)
|
||||
steps.log.info("SemanticReleasingExecutor", "Installing semantic-release requirements...")
|
||||
steps.sh "apt-get -y update && apt-get install -y --no-install-recommends git apt-transport-https ca-certificates curl wget gnupg"
|
||||
steps.log.info("SemanticReleasingExecutor", "Installing semantic-release plugins...")
|
||||
steps.sh "npm install -g ${plugins.join(' ')}"
|
||||
steps.sh "semantic-release"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user