Browse files

improve automation for publishing to

  • Loading branch information...
1 parent e6bba62 commit b35b5b41195b02b59eeaa58f59d17808ffee7a78 @dchelimsky dchelimsky committed Jul 7, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 Rakefile
5 Rakefile
@@ -61,6 +61,11 @@ desc "Push docs/cukes to relishapp using the relish-client-gem"
task :relish, :version do |t, args|
raise "rake relish[VERSION]" unless args[:version]
sh "cp features/"
+ if `relish versions rspec/rspec-mocks` args[:version]
+ puts "Version #{args[:version]} already exists"
+ else
+ sh "relish versions:add rspec/rspec-mocks:#{args[:version]}"
+ end
sh "relish push rspec/rspec-mocks:#{args[:version]}"
sh "rm features/"

0 comments on commit b35b5b4

Please sign in to comment.