Commit fb37c6b9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

silence get_last_tag

parent f75b103a
......@@ -75,10 +75,12 @@ push_to_remote()
else
if is_last_commit_tag ; then
local LASTTAG=$(get_last_tag)
if [ -n "$LASTTAG" ] ; then
echo "*** Push last tag $LASTTAG"
docmd git push $PUSHFORCE $GHOST $LASTTAG
fi
fi
fi
}
tune_girarlist()
......
......@@ -102,7 +102,7 @@ git_commit_ignore_nothing()
get_last_tag()
{
git describe --abbrev=0 --tags
git describe --abbrev=0 --tags 2>/dev/null
}
# check if tag is last commit tag (put on the last commit). if tag is missed, check with the last tag in repo
......
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