Skip to content

Instantly share code, notes, and snippets.

@IanVaughan
Created September 6, 2012 17:56
Show Gist options
  • Select an option

  • Save IanVaughan/3658990 to your computer and use it in GitHub Desktop.

Select an option

Save IanVaughan/3658990 to your computer and use it in GitHub Desktop.
Get git tags
list=`git tag`
for tag in $list; do
echo "$tag : " >> result.txt
git co $tag 2>&1 > /dev/null
grep -w s.version wld.gemspec >> result.txt
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment