MarcoIeni / release-plz

Publish Rust crates from CI with a Release PR.
https://release-plz.ieni.dev
Apache License 2.0
792 stars 74 forks source link

fix: reset git config (if issue with global config) #1678

Closed davidB closed 1 week ago

davidB commented 2 weeks ago

small change to avoid an error during test with git, when the git's local configuration is commit.gpgsign = true but the user defined in the test doesn't have an ssh or gpg private key.

MarcoIeni commented 2 weeks ago

the title and the description is much more complicated than your change. I just wanted to double check that you committed everything.

davidB commented 2 weeks ago

Yes it was completed at least to fix the issue I got with my config. But I found maybe a more general solution (ignoring user global configuration). So I'll move this PR back to draft to test it.

davidB commented 1 week ago

The way to reset (more config) is to set some environment variables. I'll close the PR, until I got a better idea (to just reset config for test, and not for every commands)