make-tar.sh allow HEAD for testing

This commit is contained in:
Michael Davidsaver
2019-03-18 13:49:25 -07:00
parent 1d2637a04e
commit 89da4130fc

View File

@@ -36,7 +36,10 @@ case "$PREFIX" in
esac
# Check for both <tag> and R<tag>
if ! [ `git tag -l $TOPREV` ]
if [ "$TOPREV" = "HEAD" ]
then
true
elif ! [ `git tag -l $TOPREV` ]
then
if [ `git tag -l R$TOPREV` ]
then