Use unmodified 'version' when not on a topic branch
This commit is contained in:
parent
44a7e77e6d
commit
7d6161f280
|
@ -928,7 +928,8 @@ def qualifyVersionIfNecessary(version) {
|
||||||
if (rootProject.hasProperty("BRANCH_NAME")) {
|
if (rootProject.hasProperty("BRANCH_NAME")) {
|
||||||
def qualifier = rootProject.getProperty("BRANCH_NAME")
|
def qualifier = rootProject.getProperty("BRANCH_NAME")
|
||||||
if (qualifier.startsWith("SPR-")) {
|
if (qualifier.startsWith("SPR-")) {
|
||||||
version = version.replace('BUILD', qualifier)
|
return version.replace('BUILD', qualifier)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return version
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue