tasks/deployment.rake in dustin-twitter-0.3.2.2 vs tasks/deployment.rake in dustin-twitter-0.3.7
- old
+ new
@@ -1,4 +1,13 @@
+desc 'Preps the gem for a new release'
+task :prep_for_release do
+ require 'rio'
+ Rake::Task['manifest:refresh'].invoke
+ gemspec = %x[rake debug_gem]
+ lines = gemspec.split("\n")
+ rio('twitter.gemspec') < lines[1, lines.length-1].join("\n")
+end
+
desc 'Release the website and new gem version'
task :deploy => [:check_version, :website, :release] do
puts "Remember to create SVN tag:"
puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " +
"svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
\ No newline at end of file