Pewpewarrows / Prometheus-Django

Web development made easy
Other
1 stars 0 forks source link

Reference git commit on front-end? #23

Open Pewpewarrows opened 12 years ago

Pewpewarrows commented 12 years ago

http://stackoverflow.com/questions/3442874/in-git-how-can-i-write-the-current-commit-hash-to-a-file-in-the-same-commit

Pewpewarrows commented 12 years ago

git rev-parse HEAD > filename

Somehow incorporate / parse filename into usable context variable on front-end of site.