[solved] How can I get the build hash in my app?

If you build and deploy with Netlify then you have access to build metadata and git related envars:

Three is a unique build id and also the git commit hash that represents the commit used when building.

1 Like