# File lib/hoe/git.rb, line 114 def git_tags # FIX: order by date, not alpha! if git_svn? source = `git config svn-remote.svn.tags`.strip unless source =~ %r{refs/remotes/(.*)/\*$} abort "Can't discover git-svn tag scheme from #{source}" end prefix = $1 `git branch -r`.split("\n"). collect { |t| t.strip }. select { |t| t =~ %r{^#{prefix}/#{git_release_tag_prefix}} } else `git tag -l '#{git_release_tag_prefix}*'`.split "\n" end end