Skip to content

Commit

Permalink
add news bodies to site NEWS.atom.xml
Browse files Browse the repository at this point in the history
While we're at it, remove trailing whitespace for
author names, too.
  • Loading branch information
Eric Wong committed Oct 20, 2009
1 parent e6b2a25 commit fef9051
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Expand Up @@ -21,8 +21,8 @@ def tags
body ||= "initial"
{
:time => Time.at(tagger.split(/ /)[-2].to_i).utc.strftime(timefmt),
:tagger_name => %r{^tagger ([^<]+)}.match(tagger)[1],
:tagger_email => %r{<([^>]+)>}.match(tagger)[1],
:tagger_name => %r{^tagger ([^<]+)}.match(tagger)[1].strip,
:tagger_email => %r{<([^>]+)>}.match(tagger)[1].strip,
:id => `git rev-parse refs/tags/#{tag}`.chomp!,
:tag => tag,
:subject => subject,
Expand Down Expand Up @@ -58,7 +58,7 @@ task :news_atom do
url = "#{cgit_url}/tag/?id=#{tag[:tag]}"
link! :rel => "alternate", :type => "text/html", :href =>url
id! url
content(:type => 'text') { tag[:body] }
content({:type => 'text'}, tag[:body])
end
end
end
Expand Down

0 comments on commit fef9051

Please sign in to comment.