Sha256: 523d01a9c10aee3a0a23db3302463592a58ccf70f485a3b08dec4c11e9d674b8

Contents?: true

Size: 851 Bytes

Versions: 36

Compression:

Stored size: 851 Bytes

Contents

desc "Create and push a tag (timestamped tag with an optional suffix or semantic version tag)"
command 'tag-release' do |c|
  c.flag :prefix, :desc => "Prefix to apply to to the tag"
  c.flag :suffix, :desc => "Suffix to apply to to the tag"

  c.desc "Create tag even if not on deploy branch"
  c.switch :force, :negatable => false
  c.desc "Increment major version (if semantic_versioning enabled)"
  c.switch :major, :negatable => false
  c.desc "Increment minor version (if semantic_versioning enabled)"
  c.switch :minor, :negatable => false
  c.desc "Increment patch version (if semantic_versioning enabled)"
  c.switch :patch, :negatable => false

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

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
octopolo-1.12.0 lib/octopolo/commands/tag_release.rb
octopolo-1.11.4 lib/octopolo/commands/tag_release.rb
octopolo-1.11.3 lib/octopolo/commands/tag_release.rb
octopolo-1.11.1 lib/octopolo/commands/tag_release.rb
octopolo-1.11.0 lib/octopolo/commands/tag_release.rb
octopolo-1.9.0 lib/octopolo/commands/tag_release.rb
octopolo-1.8.1 lib/octopolo/commands/tag_release.rb
octopolo-1.8.0 lib/octopolo/commands/tag_release.rb
octopolo-1.7.1 lib/octopolo/commands/tag_release.rb
octopolo-1.7.0 lib/octopolo/commands/tag_release.rb
octopolo-1.6.0 lib/octopolo/commands/tag_release.rb
octopolo-1.5.3 lib/octopolo/commands/tag_release.rb
octopolo-1.5.2 lib/octopolo/commands/tag_release.rb
octopolo-1.5.1 lib/octopolo/commands/tag_release.rb
octopolo-1.5.0 lib/octopolo/commands/tag_release.rb
octopolo-1.4.0 lib/octopolo/commands/tag_release.rb
octopolo-1.3.0 lib/octopolo/commands/tag_release.rb
octopolo-1.2.1 lib/octopolo/commands/tag_release.rb
octopolo-1.2.0 lib/octopolo/commands/tag_release.rb
octopolo-1.1.1 lib/octopolo/commands/tag_release.rb