diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-25 14:10:23 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-25 14:55:39 -0800 |
commit | 3adcfba70e98d8248f36c69c9c54fa6c11c8683a (patch) | |
tree | 3e9dcf8a7578f7cdd54315a0bd6e331c34690eb4 /version.sh | |
parent | e95a19724bdbf476044620d78068dc09aa28fff2 (diff) |
Set Version: in control based on git describe --tags.
Diffstat (limited to 'version.sh')
-rwxr-xr-x | version.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/version.sh b/version.sh new file mode 100755 index 0000000..2508390 --- /dev/null +++ b/version.sh @@ -0,0 +1,5 @@ +#!/bin/bash +ver=$(git describe --tags --dirty="+") +ver=${ver#v} +ver=${ver//-/.} +echo "${ver}" |