4 lines
198 B
Bash
Executable file
4 lines
198 B
Bash
Executable file
#!/bin/sh
|
|
(git rev-parse HEAD &&
|
|
git describe --tags --long &&
|
|
if test -z "$(git ls-files --exclude-standard --modified --deleted --others)"; then echo clean; else echo dirty; fi) > ../.version
|