fmt
This commit is contained in:
parent
70c9499a8c
commit
78cb70ea5c
|
@ -200,8 +200,9 @@ fun determineVersionCode(): Int {
|
||||||
fun determineVersionName(): String {
|
fun determineVersionName(): String {
|
||||||
return with(getBuildTaskName().lowercase()) {
|
return with(getBuildTaskName().lowercase()) {
|
||||||
when {
|
when {
|
||||||
contains(Constants.NIGHTLY) || contains(Constants.PRERELEASE) -> Constants.VERSION_NAME +
|
contains(Constants.NIGHTLY) || contains(Constants.PRERELEASE) ->
|
||||||
"-${grgitService.service.get().grgit.head().abbreviatedId}"
|
Constants.VERSION_NAME +
|
||||||
|
"-${grgitService.service.get().grgit.head().abbreviatedId}"
|
||||||
else -> Constants.VERSION_NAME
|
else -> Constants.VERSION_NAME
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue