Permalink
Browse files

fix rubyforge dist tasks

20080621055421-2f820-465346093197dfdc0066d7eb460017821326ae3f.gz
  • Loading branch information...
copiousfreetime authored and git-darcs-import committed Jun 21, 2008
1 parent e3f27dc commit f9ff5646f37fa53fcc3a9cd445657a7cfd957781
Showing with 5 additions and 4 deletions.
  1. +1 −1 HISTORY
  2. +4 −3 tasks/rubyforge.rake
View
@@ -1,4 +1,4 @@
= Changelog
== Version 0.1.0
== Version 0.1.0 - 2008-06-20
* Initial public release
View
@@ -17,7 +17,7 @@ if rf_conf = Configuration.for_if_exist?("rubyforge") then
# make sure this release doesn't already exist
releases = rubyforge.autoconfig['release_ids']
if releases.has_key?(Amalgalite::SPEC.name) and releases[Amalgalite::SPEC.name][Amalgalite::VERSION] then
if releases.has_key?(Amalgalite::GEM_SPEC.name) and releases[Amalgalite::GEM_SPEC.name][Amalgalite::VERSION] then
abort("Release #{Amalgalite::VERSION} already exists! Unable to release.")
end
@@ -27,9 +27,10 @@ if rf_conf = Configuration.for_if_exist?("rubyforge") then
config["Prefomatted"] = true
puts "Uploading to rubyforge..."
files = FileList[File.join("pkg","#{Amalgalite::SPEC.name}-#{Amalgalite::VERSION}*.*")].to_a
puts config.inspect
files = FileList[File.join("pkg","#{Amalgalite::GEM_SPEC.name}-#{Amalgalite::VERSION}*.*")].to_a
rubyforge.login
rubyforge.add_release(Amalgalite::SPEC.rubyforge_project, Amalgalite::SPEC.name, Amalgalite::VERSION, *files)
rubyforge.add_release(Amalgalite::GEM_SPEC.rubyforge_project, Amalgalite::GEM_SPEC.name, Amalgalite::VERSION, *files)
puts "done."
end
end

0 comments on commit f9ff564

Please sign in to comment.