[MINOR] Use 7 chars instead of 10 for source build hash (#6858)

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
pull/6867/head
Simon Dudley 7 months ago committed by GitHub
parent 0307996574
commit 258cbd2a4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      build.gradle

@ -1020,7 +1020,7 @@ def calculateVersion() {
} else {
// If no version is supplied or it doesn't match the semantic versioning, calculate from git
println("Generating project version as supplied is version not semver: ${project.version}")
def gitDetails = getGitCommitDetails(10) // Adjust length as needed
def gitDetails = getGitCommitDetails(7) // Adjust length as needed
return "${gitDetails.date}-develop-${gitDetails.hash}"
}
}

Loading…
Cancel
Save