Skip to content

Commit

Permalink
short commit hash should be 7 chars length
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXiaoM committed Dec 5, 2023
1 parent 3376146 commit af239df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Overflow : IMirai, CoroutineScope, LowLevelApiAccessor, OverflowAPI {
val instance: Overflow get() = _instance

@JvmStatic
val version = "${BuildConstants.VERSION}-${BuildConstants.COMMIT_HASH.chunked(6)[0]}"
val version = "${BuildConstants.VERSION}-${BuildConstants.COMMIT_HASH.chunked(7)[0]}"

private val isNotExit by lazy {
!System.getProperty("overflow.not-exit").isNullOrBlank()
Expand Down

0 comments on commit af239df

Please sign in to comment.