Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

improve automation for publishing to relishapp.com

  • Loading branch information...
commit 705ddc540d5864d0d1635bccc87f39ecaf762a4c 1 parent 45161a7
@dchelimsky dchelimsky authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 Rakefile
View
5 Rakefile
@@ -40,6 +40,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-expectations`.split.map(&:strip).include? args[:version]
+ puts "Version #{args[:version]} already exists"
+ else
+ sh "relish versions:add rspec/rspec-expectations:#{args[:version]}"
+ end
sh "relish push rspec/rspec-expectations:#{args[:version]}"
sh "rm features/Changelog.md"
end
Please sign in to comment.
Something went wrong with that request. Please try again.