aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/Rakefile
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-02-04 18:28:45 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2010-02-04 18:28:45 -0800
commitc1785f32825431d30a5d826066d37dfb0403cd46 (patch)
treee7a0bf9efed0981e7e918bfebef393f02834a31b /activemodel/Rakefile
parent31f8a59c16d4a29553e2dbf891c891493fd138c0 (diff)
downloadrails-c1785f32825431d30a5d826066d37dfb0403cd46.tar.gz
rails-c1785f32825431d30a5d826066d37dfb0403cd46.tar.bz2
rails-c1785f32825431d30a5d826066d37dfb0403cd46.zip
Release using gemcutter gem:push tasks
Diffstat (limited to 'activemodel/Rakefile')
-rwxr-xr-xactivemodel/Rakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/activemodel/Rakefile b/activemodel/Rakefile
index f098ce0671..e043a6d69d 100755
--- a/activemodel/Rakefile
+++ b/activemodel/Rakefile
@@ -44,9 +44,15 @@ end
require 'rake/packagetask'
require 'rake/gempackagetask'
+require 'rake/gemcutter'
spec = eval(File.read("#{dir}/activemodel.gemspec"))
Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
end
+
+Rake::Gemcutter::Tasks(spec)
+
+desc "Release to gemcutter"
+task :release => [:package, 'gem:push']