Skip to content

Commit

Permalink
Fix s3_file with _ in bucket name
Browse files Browse the repository at this point in the history
  • Loading branch information
workeitel committed Oct 12, 2015
1 parent ba22728 commit 4c66499
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scm_helper/libraries/s3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ def prepare_s3_checkouts(scm_options)
owner "root"
group "root"
mode "0600"
# per default it's host-style addressing
# but older versions of rest-client doesn't support host-style addressing with `_` in bucket name
s3_url "https://s3.amazonaws.com/#{s3_bucket}"
action :create
end

Expand Down

0 comments on commit 4c66499

Please sign in to comment.