Permalink
Browse files

Allow relish docs to be re-pushed when I run "rake relish".

  • Loading branch information...
1 parent d37b7f8 commit 4db3d6eb0f4d910cd077e0619641026ceed2f867 @myronmarston committed Jun 3, 2011
Showing with 6 additions and 2 deletions.
  1. +6 −2 Rakefile
View
@@ -70,11 +70,15 @@ task :relish do
end
require 'vcr/version'
- sh "relish versions:add myronmarston/vcr:#{VCR.version}"
+ sh "relish versions:add myronmarston/vcr:#{VCR.version}" if ENV['NEW_RELISH_RELEASE']
sh "relish push vcr:#{VCR.version}"
end
-task :release => :relish
+task :prep_relish_release do
+ ENV['NEW_RELISH_RELEASE'] = 'true'
+end
+
+task :release => [:prep_relish_release, :relish]
# For gem-test: http://gem-testers.org/
task :test => :spec

0 comments on commit 4db3d6e

Please sign in to comment.