module Shifter::CLI::Promote

Public Instance Methods

promote(env) click to toggle source
# File lib/shifter/cli/promote.rb, line 13
def promote(env)
  if options[:interactive]
    last_tag = Git.last_tag(env)

  else
    Git.tag! env
  end
end