From 9d0c1b3665be18584897765ba538be0e808b470f Mon Sep 17 00:00:00 2001 From: quix Date: Sat, 13 Sep 2008 16:00:38 -0400 Subject: [PATCH] upload CHANGES on release --- Rakefile.drake | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Rakefile.drake b/Rakefile.drake index d8598bc31..e42a85514 100644 --- a/Rakefile.drake +++ b/Rakefile.drake @@ -57,13 +57,14 @@ task :drake_publish => :rdoc do } end -def rubyforge(command, file) +def rubyforge(command, file, *args) sh("rubyforge", command, SPEC.rubyforge_project, SPEC.rubyforge_project, SPEC.version.to_s, - file) + file, + *args) end task :drake_finish_release do @@ -72,7 +73,8 @@ task :drake_finish_release do gem = "#{SPEC.name}-#{SPEC.version}.gem" md5 = "#{gem}.md5" sh("md5sum #{gem} > #{md5}") - rubyforge("add_release", gem) + rubyforge( + *%W(add_release #{gem} --release_changes CHANGES.drake --preformatted)) rubyforge("add_file", md5) }