#!/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