tint2/get_version.sh

4 lines
166 B
Bash
Raw Normal View History

2015-04-24 16:45:25 +00:00
#!/bin/sh
git describe --exact-match 2>/dev/null || echo "0.11-git$(git show -s --pretty=format:%cI.%h | tr -d ':' | tr -d '-' | tr '.' '-' | sed 's/T[0-9\+]*//g')"