config/scripts/tag_list.sh

10 lines
164 B
Bash
Executable File

#!/usr/bin/env bash
tags=$(git tag)
for tag in $tags;
do
commitId=$(git rev-list -n 1 $tag)
echo "==== $tag $commitId===="
#git show --abbrev $commitId
done