mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Set commit.gpgsign=false for test Git repos (#8891)
This commit is contained in:
@@ -11,6 +11,7 @@ describe RemoteTheme do
|
||||
`cd #{repo_dir} && git init . `
|
||||
`cd #{repo_dir} && git config user.email 'someone@cool.com'`
|
||||
`cd #{repo_dir} && git config user.name 'The Cool One'`
|
||||
`cd #{repo_dir} && git config commit.gpgsign 'false'`
|
||||
files.each do |name, data|
|
||||
FileUtils.mkdir_p(Pathname.new("#{repo_dir}/#{name}").dirname)
|
||||
File.write("#{repo_dir}/#{name}", data)
|
||||
|
||||
Reference in New Issue
Block a user