Catalogger.NET/build_info.sh

5 lines
207 B
Bash
Raw Normal View History

#!/bin/sh
(git rev-parse HEAD &&
git describe --tags --always --long &&
2024-11-19 15:46:06 +01:00
if test -z "$(git ls-files --exclude-standard --modified --deleted --others)"; then echo clean; else echo dirty; fi) > ../.version