Method: Codepipe::Pipeline#set_source_branch!
- Defined in:
- lib/codepipe/pipeline.rb
#set_source_branch! ⇒ Object
cli branch option always takes highest precedence
40 41 42 43 44 45 46 |
# File 'lib/codepipe/pipeline.rb', line 40 def set_source_branch! return unless [:branch] source_stage = @properties[:stages].first action = source_stage[:actions].first action[:configuration][:branch] = [:branch] end |