Rakefile in rscm-0.3.7 vs Rakefile in rscm-0.3.8
- old
+ new
@@ -8,11 +8,11 @@
require 'rake/contrib/rubyforgepublisher'
require 'meta_project'
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
PKG_NAME = 'rscm'
-PKG_VERSION = '0.3.7' + PKG_BUILD
+PKG_VERSION = '0.3.8' + PKG_BUILD
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
desc "Default Task"
task :default => [:test, :gem]
#task :gem => [:test]
@@ -133,10 +133,10 @@
# The rest of the options are defaults (among others, release_notes and release_changes, parsed from CHANGES)
end
end
desc "Publish docs/website"
-task :publish_doc do
+task :publish_doc => [:rdoc] do
publisher = Rake::RubyForgePublisher.new(PKG_NAME, ENV['RUBYFORGE_USER'])
publisher.upload
end
desc "Publish news on RubyForge"