Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

improve automation for publishing to relishapp.com

  • Loading branch information...
commit b35b5b41195b02b59eeaa58f59d17808ffee7a78 1 parent e6bba62
@dchelimsky dchelimsky authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 Rakefile
View
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 Changelog.md features/"
+ if `relish versions rspec/rspec-mocks`.split.map(&:strip).include? 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/Changelog.md"
end
Please sign in to comment.
Something went wrong with that request. Please try again.