Skip to content

Commit

Permalink
Prevent possible submodule version overlaps
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore authored Feb 19, 2025
1 parent ac98ef3 commit 63b3b96
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ def getSubprojectVersion(Project project) {
return version + "+uncommited"
} else {
return version + "+" + latestCommits.get(0).id.substring(0, 8) +
DigestUtils.sha256Hex("${project.name}").substring(0, 2) +
DigestUtils.sha256Hex("${mcVersion}").substring(0, 2)
DigestUtils.sha256Hex("${rootProject.version}").substring(0, 4)
}
}

Expand Down

0 comments on commit 63b3b96

Please sign in to comment.