5dc22e29c6
This commit adds the commit hash to the global build info, and adds the git revision as an extension. There are a couple motivations for this change: - the current mechanism of getting the build hash does not work with git worktrees (because jgit does not understand them) - a follow-up will want to use the git revision when building the Docker images, so we want it available as an extension - it allows us to simplify our usage around the build hash as we no longer have to hack around silliness in the info-scm plugin A follow-up will also stop using the short hash in the product build, so that we use the full hash there. We already know that short hashes in our codebase do collide, so we should move to the full hash to avoid this problem. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
build.gradle | ||
version.properties |