Foxchat.NET/build_info.sh
2024-05-20 17:40:25 +02:00

4 lines
207 B
Bash
Executable file

#!/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