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.12.0 lib/octopolo/commands/new_staging.rb
octopolo-1.11.4 lib/octopolo/commands/new_staging.rb
octopolo-1.11.3 lib/octopolo/commands/new_staging.rb
octopolo-1.11.1 lib/octopolo/commands/new_staging.rb
octopolo-1.11.0 lib/octopolo/commands/new_staging.rb
octopolo-1.9.0 lib/octopolo/commands/new_staging.rb
octopolo-1.8.1 lib/octopolo/commands/new_staging.rb
octopolo-1.8.0 lib/octopolo/commands/new_staging.rb
octopolo-1.7.1 lib/octopolo/commands/new_staging.rb
octopolo-1.7.0 lib/octopolo/commands/new_staging.rb
octopolo-1.6.0 lib/octopolo/commands/new_staging.rb
octopolo-1.5.3 lib/octopolo/commands/new_staging.rb
octopolo-1.5.2 lib/octopolo/commands/new_staging.rb
octopolo-1.5.1 lib/octopolo/commands/new_staging.rb
octopolo-1.5.0 lib/octopolo/commands/new_staging.rb
octopolo-1.4.0 lib/octopolo/commands/new_staging.rb
octopolo-1.3.0 lib/octopolo/commands/new_staging.rb
octopolo-1.2.1 lib/octopolo/commands/new_staging.rb
octopolo-1.2.0 lib/octopolo/commands/new_staging.rb
octopolo-1.1.1 lib/octopolo/commands/new_staging.rb