lib/capistrano/bundle_rsync/scm.rb in capistrano-bundle_rsync-0.2.3 vs lib/capistrano/bundle_rsync/scm.rb in capistrano-bundle_rsync-0.2.4
- old
+ new
@@ -66,9 +66,23 @@
)
end
# @abstract
#
+ # Rsync the contents of the release path
+ #
+ # This is an additional task endpoint provided by capistrano-bundle_rsync
+ #
+ # @return void
+ #
+ def rsync_release
+ raise NotImplementedError.new(
+ "Your SCM strategy module should provide a #rsync_release method"
+ )
+ end
+
+ # @abstract
+ #
# Identify the SHA of the commit that will be deployed. This will most likely involve SshKit's capture method.
#
# @return void
#
def set_current_revision