class Gem::Tasks::SCM::Push

def push!

Returns:
  • (Boolean) -
def push!
  case @project.scm
  when :git then run 'git', 'push', '--tags'
  when :hg  then run 'hg', 'push'
  else           true
  end
end