diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-04 18:28:45 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-04 18:28:45 -0800 |
commit | c1785f32825431d30a5d826066d37dfb0403cd46 (patch) | |
tree | e7a0bf9efed0981e7e918bfebef393f02834a31b /activemodel/Rakefile | |
parent | 31f8a59c16d4a29553e2dbf891c891493fd138c0 (diff) | |
download | rails-c1785f32825431d30a5d826066d37dfb0403cd46.tar.gz rails-c1785f32825431d30a5d826066d37dfb0403cd46.tar.bz2 rails-c1785f32825431d30a5d826066d37dfb0403cd46.zip |
Release using gemcutter gem:push tasks
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'] |