lib/deploy-context/deploy/ruby.rb in deploy-context-0.8.0.2.ged8af61 vs lib/deploy-context/deploy/ruby.rb in deploy-context-0.8.1

- old
+ new

@@ -29,7 +29,23 @@ end def ruby_remove_gem(context) clean_folder(context, 'pkg') end + + def ruby_cycle(context) + context.clean + context.patch_bump + context.build + context.commit + context.release + context.install + if context.test_context_successful? + puts "newer version installed successfully for #{context_name} and version #{GVB.version}" + minor_bump + else + puts "newer version not installed for #{context_name} and version #{GVB.version}" + exit 1 + end + end end end \ No newline at end of file