I have working code on my personal machine that executes git describe
via clojure.java.shell and shows that version info on the settings page. But when this runs on Heroku, even adjusting the path to the same one I get from which git
on a heroku run bash
prompt, I get this error:
{:exit 128, :out , :err fatal: Not a git repository (or any parent up to mount point /app)}
And checking from the heroku bash prompt again, I see no .git directory.
How could I access the current git tag and SHA from inside my Clojure app?