git-for-windows / git-for-windows-automation

A few GitHub workflows and support code to help with Git for Windows' day-to-day tasks
10 stars 9 forks source link

build-and-deploy: stop GPG agent before trying to remove GPG files #71

Closed dscho closed 4 months ago

dscho commented 4 months ago

In the build-and-deploy GitHub workflow, we try to clean up the GPG files before finishing the job, but it seems that as of GPG v2.4.x, this fails. In other words, it looks as if we need to stop the GPG agent before doing that.

So let's do that, and while at it, also make sure that the dirmngr (GPG's daemon that takes care of talking to keyservers) is stopped, too.