Sha256: 0590eb91084d7717da2d8339bebf1333372db1076ff936993c13c2d227431d3f

Contents?: true

Size: 462 Bytes

Versions: 6

Compression:

Stored size: 462 Bytes

Contents

arg :suffix, :desc => "Suffix to apply to to the dated tag"

desc "Create and push a timestamped tag with an optional suffix"
command 'tag-release' do |c|
  c.desc "Create tag even if not on deploy branch"
  c.switch :force, :negatable => false

  c.action do |global_options, options, args|
    require_relative '../scripts/tag_release'
    options = global_options.merge(options)
    Octopolo::Scripts::TagRelease.execute args.first, options[:force]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
octopolo-0.1.3 lib/octopolo/commands/tag_release.rb
octopolo-0.1.2 lib/octopolo/commands/tag_release.rb
octopolo-0.1.1 lib/octopolo/commands/tag_release.rb
octopolo-0.1.0 lib/octopolo/commands/tag_release.rb
octopolo-0.0.2 lib/octopolo/commands/tag_release.rb
octopolo-0.0.1 lib/octopolo/commands/tag_release.rb