webosbrew / hyperion-webos

hyperion.ng video grabber for webOS
MIT License
144 stars 27 forks source link

Insert git-ref/sha1 at build time into the binary #71

Closed tuxuser closed 2 years ago

tuxuser commented 2 years ago
tuxuser commented 2 years ago

Implementation at: https://github.com/webosbrew/hyperion-webos/tree/feat/git_version

Example invocation:


$ ./hyperion-webos --version
     0.001s [INFO main                ] Starting up... (version: heads/feat/git_version-0-ge300564-dirty)
     0.001s [INFO main                ] Running via CLI
heads/feat/git_version-0-ge300564-dirty```
tuxuser commented 2 years ago

Implemented in #72