fix: 多加的toInt

This commit is contained in:
Super12138 2025-02-14 17:22:49 +08:00
parent 1728da4e45
commit 9e8105a62d

View file

@ -12,7 +12,7 @@ ksp {
// 配置版本信息
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 verName = "${baseVersionName}-${commitHash}"