heroku-buildpack-git-branch

by sofarsounds

GitHub Readme.md

heroku-buildpacks-git-branch

Exports the branch name 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/sofarsounds/heroku-buildpack-git-branch.git

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

License

MIT