lib/deploy-context/deploy/ruby.rb in deploy-context-0.5.0.2.gd7dfe44 vs lib/deploy-context/deploy/ruby.rb in deploy-context-0.5.0.2.gd7dfe44.1.g11bfe44
- old
+ new
@@ -7,16 +7,17 @@
gem ["build #{context.context_name}.gemspec"]
end
def ruby_release(context)
Dir.chdir context.context_folder
- gem ["push #{context.context_name}-#{GVB.version}.gem"]
+ # gem ["push #{context.context_name}-#{GVB.version}.gem"]
+ rake ['release']
end
def ruby_install(context)
- rake ['release']
- # gem ['install', context.context_name]
+ Dir.chdir context.context_folder
+ gem ['install', context.context_name]
end
def clean_folder(context, folder)
clean_folder = get_context_folder(context, folder)
puts "Clean folder #{clean_folder}"
@@ -30,9 +31,10 @@
def ruby_remove_gem(context)
clean_folder(context, 'pkg')
end
def ruby_bump(context, level)
+ Dir.chdir context.context_folder
git ['version-bump', level]
end
end
end
\ No newline at end of file