Delete remote tag only if local was deleted

This commit is contained in:
Tj Holowaychuk 2010-08-27 10:41:50 -07:00
parent 183efac185
commit e2aeb48871

View file

@ -1,5 +1,4 @@
#!/bin/sh
test -z $1 && echo "tag required." && exit 1
git tag -d $1
git push origin :refs/tags/$1
git tag -d $1 && git push origin :refs/tags/$1