Announcing a shadow-cljs
"build hook" to automatically inject the ambient git version into your production app.
https://github.com/day8/shadow-git-inject
If you use server side rendering (and want to display that version) then you'd probably need to write your own implementation of getting that value, right? or could you use that library in your clj code?
Yeah, this library is targeted at shadow-cljs
and the clients, not servers.
Depending on your server side build chain, you might be able to use our sibling library for Lein which does the same thing:
https://github.com/day8/lein-git-inject