Fork me on GitHub
#announcements
<
2021-03-31
>
mikethompson02:03:21

Announcing a shadow-cljs "build hook" to automatically inject the ambient git version into your production app. https://github.com/day8/shadow-git-inject

👍 45
sheepy 18
3
Azzurite23:03:57

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?

mikethompson23:03:34

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