[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,10 +52,12 @@ open class VersionGenerator: DefaultTask() {
|
|||||||
| }
|
| }
|
||||||
| append('-')
|
| append('-')
|
||||||
| append(meta.metaString)
|
| append(meta.metaString)
|
||||||
|
| if (build != -1) {
|
||||||
| append('-')
|
| append('-')
|
||||||
| append(build)
|
| append(build)
|
||||||
| }
|
| }
|
||||||
| }
|
| }
|
||||||
|
| }
|
||||||
| override fun toString() = versionString
|
| override fun toString() = versionString
|
||||||
|}
|
|}
|
||||||
""".trimMargin()
|
""".trimMargin()
|
||||||
|
|||||||
Reference in New Issue
Block a user