Skip to content

Commit

Permalink
Configure username and email for temp git repo (S3 archive case).
Browse files Browse the repository at this point in the history
  • Loading branch information
jbraeuer committed Feb 10, 2015
1 parent 60f38e5 commit 848b6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scm_helper/libraries/s3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def prepare_s3_checkouts(scm_options)

execute 'create git repository' do
cwd "#{tmpdir}/archive.d"
command "find . -type d -name .git -exec rm -rf {} \\;; find . -type f -name .gitignore -exec rm -f {} \\;; git init; git add .; git commit -m 'Create temporary repository from downloaded contents.'"
command "find . -type d -name .git -exec rm -rf {} \\;; find . -type f -name .gitignore -exec rm -f {} \\;; git init; git add .; git config user.name 'AWS OpsWorks'; git config user.email 'root@localhost'; git commit -m 'Create temporary repository from downloaded contents.'"
end

"#{tmpdir}/archive.d"
Expand Down

0 comments on commit 848b6cb

Please sign in to comment.