View categories
SOURCE_VERSION environment variable in builds
Change effective on 01 April 2015
A SOURCE_VERSION
environment variable is now available to builds running on Heroku. For git-push builds, this is the git commit SHA-1 of the source being built. Examples of SOURCE_VERSION
uses are versioning generated assets or fingerprinting slugs.
See the Dev Center Buildpack API article for details.