X-Git-Url: https://git.draconx.ca/gitweb/homepage.git/blobdiff_plain/da37bd9e9da585fdc382455b298739e21433c175..220aba7ec291f6f8de8982074a3488d28b4aee1f:/Rules diff --git a/Rules b/Rules index c753c38..2256153 100644 --- a/Rules +++ b/Rules @@ -70,6 +70,7 @@ preprocess do end create_wkd_items(@items["/pubring.gpg"]) + create_hkp_items(@items["/pubring.gpg"]) end postprocess do @@ -220,12 +221,16 @@ end compile '/gpg/*' do filter :wkd_export_armor - write "/pubring/" + @item.identifier.components.last + ".asc" + write "/pubring/#{@item.identifier.components.last}.asc" + write "/pubring/#{@item[:id64]}.asc" if item[:id64] + write "/pubring/#{@item[:id32]}.asc" if item[:id32] end compile '/gpg/*', rep: :hu do - filter :wkd_export - write "/pubring/wkd/" + @item[:wkd_hash] + if @item[:wkd_hash] + filter :wkd_export + write "/pubring/wkd/" + @item[:wkd_hash] + end end compile '/*.gpg' do