Skip to content
Exports the Heroku SOURCE_VERSION variable (usually the Git SHA) to an env variable that application code can access.
Branch: master
Clone or download
Pull request Compare This branch is 1 commit behind dive-networks:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
README.md

README.md

heroku-buildpacks-git-sha

Exports the Heroku SOURCE_VERSION variable (usually the Git SHA) to an env variable that application code can access.

Usage

To use this buildpack, the app should already be successfully running the multi buildpack.

Then just add this buildpack in addition to the existing buildpacks in the .buildpacks file:

https://github.com/dive-networks/heroku-buildpack-git-sha.git

The git sha will be available to application code via the env var GIT_SHA.

License

MIT

You can’t perform that action at this time.