Cross posting https://clojurians.slack.com/archives/C8NUSGWG6/p1632651059209900
I remember having to set this up before too, especially the GPG stuff was challenging. Our solutions are pretty similar too ๐ https://github.com/nedap/speced.def/blob/4d2982a546fb671952f4b3833b854eb3751a6f67/.circleci/config.yml#L61-L68
Interesting! My problem was always in exporting/importing keys. I follow this guide https://joemiller.me/2019/07/signing-releases-with-a-gpg-project-key/ but always stumble on creating a โthingโ which doesnโt require a password. My incompetence in this area is vast
To be fair I think the key I use in our public repo's doesn't have a password; The password would have to be in the env-vars too either way so it wouldn't make a big difference
If anyone's wondering how to do this with tools.deps based projects, I used a similar pattern in edn-avro https://github.com/cddr/edn-avro