Skip to content

Instantly share code, notes, and snippets.

@pasela
Created April 9, 2012 03:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pasela/2341165 to your computer and use it in GitHub Desktop.
Save pasela/2341165 to your computer and use it in GitHub Desktop.
List tags with commit date.
#!/bin/bash
#
# List tags with commit date.
#
for tag in $(git tag)
do
ldate=$(git log -1 --pretty=format:%cd --date=local $tag)
date=$(date +"%F %T" -d "$ldate")
echo -e "$tag\t$date"
done
@pasela
Copy link
Author

pasela commented Apr 9, 2012

とあるプロダクトのリリース日をまとめて取ろうと思って……

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment