diff --git a/build-constants.go b/build-constants.go index 49b83683..2095a528 100644 --- a/build-constants.go +++ b/build-constants.go @@ -24,5 +24,5 @@ var ( // mcCommitID - latest commit id. mcCommitID = "UNOFFICIAL.GOGET" // mcShortCommitID - first 12 characters from mcCommitID. - mcShortCommitID = mcCommitID[:] + mcShortCommitID = mcCommitID[:12] )