module Capistrano::Tarball::DefaultStrategy

Public Instance Methods

fetch_revision() click to toggle source
# File lib/capistrano/tarball.rb, line 45
def fetch_revision
  fetch(:tarball_release_tag)
end
package() click to toggle source
# File lib/capistrano/tarball.rb, line 32
def package
  context.execute *package_cmd
end
release() click to toggle source
# File lib/capistrano/tarball.rb, line 40
def release
  context.execute *release_cmd
  context.execute :rm, remote_path
end
test() click to toggle source
# File lib/capistrano/tarball.rb, line 28
def test
  test! " [ -f #{remote_path} ] "
end
upload() click to toggle source
# File lib/capistrano/tarball.rb, line 36
def upload
  context.upload! local_path, remote_path
end