ci(magicleaps): switch magicleaps alpha ci to develop branch

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-02-17 19:27:05 +08:00
parent d3c15adf20
commit 93248e7be1

View File

@ -35,8 +35,11 @@ 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")
steps.env.LATEST_VERSION = steps.readFile('VERSION').trim()
steps.env.SEMANTIC_RELEASED = true
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
}
}
}
}