X-Git-Url: https://git.draconx.ca/gitweb/homepage.git/blobdiff_plain/fe387389cf437d11a969d51b5625cd6bc4ddb79f..220aba7ec291f6f8de8982074a3488d28b4aee1f:/Rules diff --git a/Rules b/Rules index 7acf71d..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 @@ -219,13 +220,17 @@ compile '/**/*.scss' do end compile '/gpg/*' do - filter :wkd_export, armor: true - write "/pubring/" + @item.identifier.components.last + ".asc" + filter :wkd_export_armor + 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