Added pub key place
This commit is contained in:
@@ -430,6 +430,11 @@ class ProjectsActions
|
||||
end
|
||||
repo_sign.repoview(repo_url, prj[:projname], tpl_dir)
|
||||
repo_sign.create_repo
|
||||
pub_key = repo_key.get_publick_key
|
||||
proj_repo_key = File.join(sign_repo_path, "#{prj[:projname]}-gpg-key")
|
||||
unless File.exist?(proj_repo_key)
|
||||
FileUtils.cp_r(pub_key, proj_repo_key, verbose: false, remove_destination: false)
|
||||
end
|
||||
end
|
||||
end
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user