Skip to content
asdf-version 204 B
Newer Older
Gary King's avatar
Gary King committed
#!/bin/sh

# write the highest tag to standard output
# exit code is 1 if it cannot be found

tag=`git describe --tags --match '[0-9].[0-9][0-9]'`
Gary King's avatar
Gary King committed
if [ "$tag" == "" ]; then
    exit 1
fi
echo $tag
exit 0