Added pub key place

This commit is contained in:
alexey
2025-03-23 21:01:31 +03:00
parent a33c5e8f92
commit 10310ed874
2 changed files with 6 additions and 1 deletions

View File

@@ -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