diff options
author | Eric Wong <e@80x24.org> | 2015-04-13 08:18:18 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-04-13 08:18:18 +0000 |
commit | 04d90417d3f26f0b389e58b9934941f378c92094 (patch) | |
tree | 8d9e5d1d1199d18c8062e1293ff53668557e83c3 | |
parent | 2f93e57f6daaf715121b14a2e5b3f8221c8f2c0e (diff) | |
download | dtas-04d90417d3f26f0b389e58b9934941f378c92094.tar.gz |
Otherwise it's not very readable since our version numbers are no longer lexographically sortable.
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ task "NEWS" do latest = nil fp = Tempfile.new("NEWS", ".") fp.sync = true - `git tag -l`.split(/\n/).reverse.each do |tag| + `git tag -l --sort=-v:refname`.split(/\n/).each do |tag| %r{\Av(.+)} =~ tag or next version = $1 header, subject, body = `git cat-file tag #{tag}`.split(/\n\n/, 3) |