git-verify-tag-scripton commit [PATCH] tools/applymbox: allow manual fixing and continuing after a failure. (3727531)
   1#!/bin/sh
   2GIT_DIR=${GIT_DIR:-.git}
   3
   4tag=$1
   5[ -f "$GIT_DIR/refs/tags/$tag" ] && tag=$(cat "$GIT_DIR/refs/tags/$tag")
   6
   7git-cat-file tag $tag > .tmp-vtag || exit 1
   8cat .tmp-vtag | sed '/-----BEGIN PGP/Q' | gpg --verify .tmp-vtag -
   9rm -f .tmp-vtag