diff options
Diffstat (limited to 'mkversion')
-rwxr-xr-x | mkversion | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mkversion b/mkversion deleted file mode 100755 index 03c1af1..0000000 --- a/mkversion +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# Make GIT version reference file - -url=$( git repo-config --get remote.origin.url ) -test -z "$url" && url=file://$PWD -branch=$( git-branch --no-color | sed '/^\* /!d; s/^\* //' ) -sha=$( git log --pretty=oneline --no-color -n 1 | cut -c-8 ) - -echo "${url}#${branch}-${sha}" > VERSION |