conformance: support annotated tags

The former code listed all tags with show-ref which lists the actual tag commit
hash for annotated tags, not the dereferences hash. Although through `-d`
git-show-ref can also dereference annotated tags, this complicated the command
even more due do addition unpadding of the found tags.

Anyway, this code does the same in one command, available since git 1.7.
pull/6/head
Dr. Stefan Schimanski 2015-11-26 16:02:37 +01:00
parent 0ca2182192
commit d17f90ee62
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ echo -n "Conformance test SHA:"
HEAD_SHA=$(git rev-parse HEAD)
echo $HEAD_SHA
echo "Conformance test version tag(s):"
git show-ref | grep $HEAD_SHA | grep refs/tags
git tag --points-at $HEAD_SHA
echo
echo "Conformance test checking conformance with Kubernetes version 1.0"