Sha256: fac601c7f7d8c71db1d52927dc5afb62174cd6ae47b11fd7264e5cb7843826a3

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 Bytes

Contents

module Shifter
  class CLI < Thor
    module Rollback

      desc 'rollback <env>', 'rollbacks <env> tag to the penultimate one'

      long_desc <<-DESC

      DESC

      def rollback(env)
        penultimate_tag = Git.penultimate_tag(env)
        Git.retag! env, penultimate_tag
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shifter-0.0.1 lib/shifter/cli/rollback.rb