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.1.0 lib/octopolo/commands/new_deployable.rb
octopolo-1.0.2 lib/octopolo/commands/new_deployable.rb
octopolo-1.0.1 lib/octopolo/commands/new_deployable.rb
octopolo-1.0.0 lib/octopolo/commands/new_deployable.rb
octopolo-0.4.1 lib/octopolo/commands/new_deployable.rb
octopolo-0.4.0 lib/octopolo/commands/new_deployable.rb
octopolo-0.3.6 lib/octopolo/commands/new_deployable.rb
octopolo-0.3.5 lib/octopolo/commands/new_deployable.rb
octopolo-0.3.4 lib/octopolo/commands/new_deployable.rb