groovy considered harmful
This commit is contained in:
parent
0d1a372f65
commit
bc63dc2940
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ def isRelease = { ->
|
|||
}
|
||||
}
|
||||
|
||||
if (!isRelease && System.getenv('BUILD_NUMBER') != null) {
|
||||
if (!isRelease() && System.getenv('BUILD_NUMBER') != null) {
|
||||
version += "-prerelease-" + System.getenv('BUILD_NUMBER')
|
||||
} else if (System.getenv('TAG_NAME') != null) {
|
||||
version = System.getenv('TAG_NAME').substring(1)
|
||||
|
|
Loading…
Reference in a new issue