diff options
-rwxr-xr-x | git-check-tag | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/git-check-tag b/git-check-tag new file mode 100755 index 0000000..99d67da --- /dev/null +++ b/git-check-tag @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Check the latest tag. +# + +# Parameters +BASENAME="`basename $0`" + +# Get the latest tag +tag="`git describe --abbrev=0 --tags`" + +# Check it +git tag -v $tag |