fix(semantic-release): add additional branch filter for rules
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
6403a1eeac
commit
6c79018093
@ -33,7 +33,8 @@ class SemanticReleasingExecutor {
|
||||
steps.sh "npm install -g ${plugins.join(' ')}"
|
||||
steps.sh "git config --global --add safe.directory ${steps.env.workroot}"
|
||||
steps.sh "git branch --show-current"
|
||||
steps.sh "semantic-release"
|
||||
steps.sh "ls -la ."
|
||||
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
|
||||
if (released) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user