lib/deploy-context/deploy/ruby.rb in deploy-context-2.1.14 vs lib/deploy-context/deploy/ruby.rb in deploy-context-2.1.14.1.gddf0839

- old
+ new

@@ -10,13 +10,13 @@ end def ruby_release(context) Dir.chdir context.context_folder # gem ["push #{context.context_name}-#{GVB.version}.gem"] - context.patch_bump if gem_installed?(context) + # context.patch_bump if gem_installed?(context) rake ['release'] - context.commit + # context.commit end def ruby_install(context) Dir.chdir context.context_folder gem ['install', context.context_name] @@ -51,11 +51,15 @@ end def ruby_cycle(context) if context.new_update_available? context.clean + if git_dirty_state?(context) + context.patch_bump + context.commit + end context.build - context.commit + # context.commit context.release context.wait_until_release_available context.install if context.test_context_successful? puts "newer version installed successfully for #{context.context_name} on version #{context.version}"