Sha256: 36fa795367febb72ac905a10fe959e86366b02258a9dcf3d67aacb1712947f5d

Contents?: true

Size: 560 Bytes

Versions: 29

Compression:

Stored size: 560 Bytes

Contents

desc "Create a new staging branch"
long_desc "Create a new staging branch with today's date and remove the others.

Useful when we have changes in the current staging branch that we wish to remove."
command 'new-staging' do |c|
  c.switch :delete_old_branches, :default_value => false, :desc => "Should old staging branches be deleted?", :negatable => false

  c.action do |global_options, options, args|
    require_relative '../scripts/new_staging'
    options = global_options.merge(options)
    Octopolo::Scripts::NewStaging.new.execute(options)
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
octopolo-1.1.0 lib/octopolo/commands/new_staging.rb
octopolo-1.0.2 lib/octopolo/commands/new_staging.rb
octopolo-1.0.1 lib/octopolo/commands/new_staging.rb
octopolo-1.0.0 lib/octopolo/commands/new_staging.rb
octopolo-0.4.1 lib/octopolo/commands/new_staging.rb
octopolo-0.4.0 lib/octopolo/commands/new_staging.rb
octopolo-0.3.6 lib/octopolo/commands/new_staging.rb
octopolo-0.3.5 lib/octopolo/commands/new_staging.rb
octopolo-0.3.4 lib/octopolo/commands/new_staging.rb