class Gem::Tasks::SCM::Push

def push!

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