Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Match just one specific tag
Matthew Seaman committed 12 years ago
commit 444352a3e45747c17ddb9b6bb88ac34cd6a8590c
parent 2c2fafe
1 file changed +1 -1
modified Makefile
@@ -60,7 +60,7 @@ set-tag:
	@if [ -n "$$( git status -uno -s )" ] ; then \
	    git commit -uno -m "New Release ${PKGVERSION}" ${VERSIONED_FILES} ; \
	fi
-
	@if git tag -l | grep -F ${PKGVERSION} ; then \
+
	@if git tag -l | grep "^${PKGVERSION}$$" ; then \
	    ${ECHO} "---> Error: tag ${PKGVERSION} already exists" ; \
	    ${ECHO} "---> Either delete the tag (git tag -d ${PKGVERSION})" ; \
	    ${ECHO} "---> (but only if you haven't pushed yet) or edit" ; \