Lines Matching refs:tag
37 local tag
65 # annotated tag exists and is an ancestor of HEAD, use
67 tag=${file_localversion#-}
69 if [ -n "${tag}" ]; then
70 desc=$(git describe --match=$tag 2>/dev/null)
73 # Otherwise, if a localversion* file exists, and the tag
74 # obtained by appending it to the tag derived from
78 tag="${version_tag}${file_localversion}"
79 desc=$(git describe --match=$tag 2>/dev/null)
82 # Otherwise, default to the annotated tag derived from KERNELVERSION.
84 tag="${version_tag}"
85 desc=$(git describe --match=$tag 2>/dev/null)
90 if [ "${tag}" != "${desc}" ]; then
171 # scm version string if not at the kernel version tag or at the file_localversion
179 # or annotated tags - git tag -a/-s).