提交 7d6161f2 编写于 作者: C Chris Beams

Use unmodified 'version' when not on a topic branch

上级 44a7e77e
......@@ -928,7 +928,8 @@ def qualifyVersionIfNecessary(version) {
if (rootProject.hasProperty("BRANCH_NAME")) {
def qualifier = rootProject.getProperty("BRANCH_NAME")
if (qualifier.startsWith("SPR-")) {
version = version.replace('BUILD', qualifier)
return version.replace('BUILD', qualifier)
}
}
return version
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册