diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-06-19 21:34:29 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-06-19 21:34:29 -0300 |
commit | dcaf3e7452025eda2cd2b586535af280d7449638 (patch) | |
tree | 94651ab2f54ced456324cbe63e66762ce9b9bc55 /git-check-tag | |
parent | 157496a1c1ec5e05a6422e13453aaccc229ff9e5 (diff) | |
download | utils-git-dcaf3e7452025eda2cd2b586535af280d7449638.tar.gz utils-git-dcaf3e7452025eda2cd2b586535af280d7449638.tar.bz2 |
Adds git-check-tag
Diffstat (limited to 'git-check-tag')
-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 |