feat: show bot version on startup and in /catalogger ping

This commit is contained in:
sam 2024-10-31 01:26:50 +01:00
parent a22057b9fa
commit 5ac607fd0a
Signed by: sam
GPG key ID: 5F3C3C1B3166639D
6 changed files with 66 additions and 4 deletions

4
build_info.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
(git rev-parse HEAD &&
git describe --tags --always --long &&
if test -z "$(git ls-files --exclude-standard --modified --deleted --others)"; then echo clean; else echo dirty; fi) > ../.version