limine/version.sh

4 lines
145 B
Bash
Raw Normal View History

2022-01-16 08:09:36 +03:00
#!/bin/sh
cat version 2>/dev/null || ( git describe --exact-match --tags `git log -n1 --pretty='%h'` 2>/dev/null || git log -n1 --pretty='%h' )