fix: 多加的toInt
This commit is contained in:
parent
1728da4e45
commit
9e8105a62d
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ ksp {
|
||||||
|
|
||||||
// 配置版本信息
|
// 配置版本信息
|
||||||
val baseVersionName = "2.0.0"
|
val baseVersionName = "2.0.0"
|
||||||
val commitHash = "git rev-parse --short HEAD".exec().toInt()
|
val commitHash = "git rev-parse --short HEAD".exec()
|
||||||
val verCode = "git rev-list --count HEAD".exec().toInt()
|
val verCode = "git rev-list --count HEAD".exec().toInt()
|
||||||
val verName = "${baseVersionName}-${commitHash}"
|
val verName = "${baseVersionName}-${commitHash}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue