serpent-os / moss

The safe, fast and sane package manager for Linux
https://serpentos.com
71 stars 9 forks source link

moss+boulder: Add git ref to version string when using default `just build` invocation #229

Closed ermo closed 1 month ago

ermo commented 1 month ago

Context:

When testing branches or feature PRs of moss and/or boulder, it's super helpful to have the tools reliably show the git ref in $tool --version output.

The relevant invocation is git rev-parse --short HEAD