Skip to content

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

heroku-buildpacks-git-sha

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

Usage

The first step is to add the Heroku multi buildpack to your app. Next, create a .buildpacks file in your app repo or edit an existing file. Add this to the file:

https://github.com/cahootify/heroku-buildpack-git-sha.git

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

License

MIT

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages