script: add repo script to list tag

This commit is contained in:
Mathieu Maret 2024-03-06 18:02:55 +01:00
parent 97177cb9c1
commit d02a3296cc
1 changed files with 9 additions and 0 deletions

9
scripts/tag_list.sh Executable file
View File

@ -0,0 +1,9 @@
#!/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