Module: HubFlow
- Defined in:
- lib/hub_flow.rb,
lib/hub_flow/version.rb
Constant Summary collapse
- VERSION =
"0.1.3"
Class Method Summary collapse
Class Method Details
.pull_request(message) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/hub_flow.rb', line 4 def self.pull_request() branch_name = `git rev-parse --abbrev-ref HEAD`.chomp system "hub pull-request -m \"#{}\" -b develop" if branch_name.start_with? 'hotfix' system "hub pull-request -m \"#{'[DEPLOY] ' + }\" -b master" end end |