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,8 +35,11 @@ class SemanticReleasingExecutor {
|
|||||||
steps.sh "git branch --show-current"
|
steps.sh "git branch --show-current"
|
||||||
steps.sh "semantic-release"
|
steps.sh "semantic-release"
|
||||||
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")
|
||||||
steps.env.LATEST_VERSION = steps.readFile('VERSION').trim()
|
def released = steps.sh(script: 'test -f "VERSION"', returnStatus: true) == 0
|
||||||
steps.env.SEMANTIC_RELEASED = true
|
if (released) {
|
||||||
|
steps.env.LATEST_VERSION = steps.readFile('VERSION').trim()
|
||||||
|
steps.env.SEMANTIC_RELEASED = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user