[build][version] more accurate version string for local builds (drops -1 in build number)
This commit is contained in:
committed by
Vasily Levchenko
parent
ce663c198a
commit
a23ca71e5c
@@ -52,8 +52,10 @@ open class VersionGenerator: DefaultTask() {
|
||||
| }
|
||||
| append('-')
|
||||
| append(meta.metaString)
|
||||
| append('-')
|
||||
| append(build)
|
||||
| if (build != -1) {
|
||||
| append('-')
|
||||
| append(build)
|
||||
| }
|
||||
| }
|
||||
| }
|
||||
| override fun toString() = versionString
|
||||
|
||||
Reference in New Issue
Block a user