Rakefile in rscm-0.1.0.1338 vs Rakefile in rscm-0.2.0
- old
+ new
@@ -9,11 +9,11 @@
require 'rake/contrib/rubyforgepublisher'
require 'lib/rubyforge_file_publisher'
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
PKG_NAME = 'rscm'
-PKG_VERSION = '0.1.0' + PKG_BUILD
+PKG_VERSION = '0.2.0' + PKG_BUILD
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
desc "Default Task"
task :default => [ :all ]
task :all => [:ant, :gem]
@@ -106,30 +106,31 @@
pkg.need_zip = true
pkg.need_tar = true
end
end
-task :publish do
- # publisher = Rake::CompositePublisher.new
-# publisher.add Rake::RubyForgePublisher.new('rscm', 'aslak_hellesoy')
+task :publish => [:rdoc] do
+ publisher = Rake::CompositePublisher.new
+ publisher.add Rake::RubyForgePublisher.new('rscm', 'aslak_hellesoy')
+ publisher.upload
- RUBYFORGE_GROUP_ID = 490
- RUBYFORGE_PACKAGE_ID = 552
- RUBYFORGE_RELEASE_NAME = "rakedrelease"
-
- Rake::RubyForgeFilePublisher.new(
- RUBYFORGE_GROUP_ID,
- "aslak_hellesoy",
- "README",
- #"pkg/#{PKG_FILE_NAME}.gem",
- RUBYFORGE_PACKAGE_ID,
- RUBYFORGE_RELEASE_NAME
- ) do |p|
- p.type_id = 8100
- p.processor_id = 2000
- p.preformatted = 1
- p.release_name = "come on"
- p.release_changes = "now"
- p.release_date = Time.utc(2005, 2, 19, 23, 42, 0)
- end
+# RUBYFORGE_GROUP_ID = 490
+# RUBYFORGE_PACKAGE_ID = 552
+# RUBYFORGE_RELEASE_NAME = "rakedrelease"
+#
+# Rake::RubyForgeFilePublisher.new(
+# RUBYFORGE_GROUP_ID,
+# "aslak_hellesoy",
+# "README",
+# #"pkg/#{PKG_FILE_NAME}.gem",
+# RUBYFORGE_PACKAGE_ID,
+# RUBYFORGE_RELEASE_NAME
+# ) do |p|
+# p.type_id = 8100
+# p.processor_id = 2000
+# p.preformatted = 1
+# p.release_name = "come on"
+# p.release_changes = "now"
+# p.release_date = Time.utc(2005, 2, 19, 23, 42, 0)
+# end
end