ci(magicleaps): switch magicleaps alpha ci to develop branch
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
d3c15adf20
commit
93248e7be1
@ -35,9 +35,12 @@ class SemanticReleasingExecutor {
|
||||
steps.sh "git branch --show-current"
|
||||
steps.sh "semantic-release"
|
||||
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) {
|
||||
steps.env.LATEST_VERSION = steps.readFile('VERSION').trim()
|
||||
steps.env.SEMANTIC_RELEASED = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user