capistrano-s3-copy 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,7 @@ module Capistrano
|
|
33
33
|
def distribute!
|
34
34
|
package_path = filename
|
35
35
|
package_name = File.basename(package_path)
|
36
|
-
s3_push_cmd = "#{aws_environment} s3cmd put #{bucket_name}:#{rails_env}/#{package_name} #{package_path} x-amz-server-side-encryption:AES256"
|
36
|
+
s3_push_cmd = "#{aws_environment} s3cmd put #{bucket_name}:#{rails_env}/#{package_name} #{package_path} x-amz-server-side-encryption:AES256 2>&1"
|
37
37
|
|
38
38
|
if configuration.dry_run
|
39
39
|
logger.debug s3_push_cmd
|
@@ -59,7 +59,7 @@ module Capistrano
|
|
59
59
|
File.open(local_output_file, "w") do |f|
|
60
60
|
f.write(output)
|
61
61
|
end
|
62
|
-
configuration[:s3_copy_aws_install_cmd] = "#{aws_environment} s3cmd put #{bucket_name}:#{rails_env}/aws_install.sh #{local_output_file} x-amz-server-side-encryption:AES256"
|
62
|
+
configuration[:s3_copy_aws_install_cmd] = "#{aws_environment} s3cmd put #{bucket_name}:#{rails_env}/aws_install.sh #{local_output_file} x-amz-server-side-encryption:AES256 2>&1"
|
63
63
|
end
|
64
64
|
|
65
65
|
def binding
|