Commit 4e0489dc authored by Vitaly Lipatov's avatar Vitaly Lipatov

hide error about missed tag

parent dcb8f48a
......@@ -129,6 +129,6 @@ is_last_commit_tag()
test -n "$TAG" || TAG=$(get_last_tag)
[ -n "$TAG" ] || return
# check if the tag put on the last commit
[ "$(git rev-parse HEAD)" = "$(git rev-parse $TAG^0)" ]
[ "$(git rev-parse HEAD)" = "$(git rev-parse $TAG^0 2>/dev/null)" ]
}
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