10 lines
164 B
Bash
10 lines
164 B
Bash
|
#!/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
|