Module: Capistrano::Tarball::DefaultStrategy
- Defined in:
- lib/capistrano/tarball.rb
Instance Method Summary collapse
Instance Method Details
#fetch_revision ⇒ Object
45 46 47 |
# File 'lib/capistrano/tarball.rb', line 45 def fetch_revision fetch(:tarball_release_tag) end |
#package ⇒ Object
32 33 34 |
# File 'lib/capistrano/tarball.rb', line 32 def package context.execute *package_cmd end |
#release ⇒ Object
40 41 42 43 |
# File 'lib/capistrano/tarball.rb', line 40 def release context.execute *release_cmd context.execute :rm, remote_path end |
#test ⇒ Object
28 29 30 |
# File 'lib/capistrano/tarball.rb', line 28 def test test! " [ -f #{remote_path} ] " end |
#upload ⇒ Object
36 37 38 |
# File 'lib/capistrano/tarball.rb', line 36 def upload context.upload! local_path, remote_path end |