From: Silvio Rhatto Date: Sat, 20 Jun 2015 00:34:29 +0000 (-0300) Subject: Adds git-check-tag X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dcaf3e7452025eda2cd2b586535af280d7449638;p=utils-git.git Adds git-check-tag --- 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