diff options
Diffstat (limited to 'activemodel/Rakefile')
-rwxr-xr-x | activemodel/Rakefile | 6 |
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'] |