script: add repo script to list tag
This commit is contained in:
parent
97177cb9c1
commit
d02a3296cc
9
scripts/tag_list.sh
Executable file
9
scripts/tag_list.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user