Commit 3f3cadcf authored by Vitaly Lipatov's avatar Vitaly Lipatov

gpush: real check tag

parent e0fdb1c6
...@@ -123,7 +123,7 @@ if [ "$PUSHALL" = "--all" ] ; then ...@@ -123,7 +123,7 @@ if [ "$PUSHALL" = "--all" ] ; then
CURRENTBRANCH= CURRENTBRANCH=
else else
TEXTBRANCH="branch $CURRENTBRANCH" TEXTBRANCH="branch $CURRENTBRANCH"
if echo $TEXTBRANCH | egrep "alt|eter" ; then if git tag | grep -q "^$CURRENTBRANCH\$" ; then
TEXTBRANCH="tag $CURRENTBRANCH" TEXTBRANCH="tag $CURRENTBRANCH"
fi fi
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment