Method: Fulmar::Infrastructure::Model::Transfer::RsyncWithVersions#current_release

Defined in:
lib/fulmar/infrastructure/model/transfer/rsync_with_versions.rb

#current_releaseObject

Return the release at which the “current” symlinks points at



120
121
122
123
124
# File 'lib/fulmar/infrastructure/model/transfer/rsync_with_versions.rb', line 120

def current_release
  prepare unless @prepared
  @remote_shell.run 'readlink -f current'
  @remote_shell.last_output.first.split('/').last
end