Sha256: e90b7b4af9f38d3670aa2ec2561d71938bcd5114f225ae0004801d8381750150

Contents?: true

Size: 581 Bytes

Versions: 29

Compression:

Stored size: 581 Bytes

Contents

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

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

  c.action do |global_options, options, args|
    require_relative '../scripts/new_deployable'
    options = global_options.merge(options)
    Octopolo::Scripts::NewDeployable.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_deployable.rb
octopolo-1.11.4 lib/octopolo/commands/new_deployable.rb
octopolo-1.11.3 lib/octopolo/commands/new_deployable.rb
octopolo-1.11.1 lib/octopolo/commands/new_deployable.rb
octopolo-1.11.0 lib/octopolo/commands/new_deployable.rb
octopolo-1.9.0 lib/octopolo/commands/new_deployable.rb
octopolo-1.8.1 lib/octopolo/commands/new_deployable.rb
octopolo-1.8.0 lib/octopolo/commands/new_deployable.rb
octopolo-1.7.1 lib/octopolo/commands/new_deployable.rb
octopolo-1.7.0 lib/octopolo/commands/new_deployable.rb
octopolo-1.6.0 lib/octopolo/commands/new_deployable.rb
octopolo-1.5.3 lib/octopolo/commands/new_deployable.rb
octopolo-1.5.2 lib/octopolo/commands/new_deployable.rb
octopolo-1.5.1 lib/octopolo/commands/new_deployable.rb
octopolo-1.5.0 lib/octopolo/commands/new_deployable.rb
octopolo-1.4.0 lib/octopolo/commands/new_deployable.rb
octopolo-1.3.0 lib/octopolo/commands/new_deployable.rb
octopolo-1.2.1 lib/octopolo/commands/new_deployable.rb
octopolo-1.2.0 lib/octopolo/commands/new_deployable.rb
octopolo-1.1.1 lib/octopolo/commands/new_deployable.rb