From dcaf3e7452025eda2cd2b586535af280d7449638 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 19 Jun 2015 21:34:29 -0300 Subject: Adds git-check-tag --- git-check-tag | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 git-check-tag (limited to '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 -- cgit v1.2.3