Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

align SonatypeCentralPublishModule with SonatypePublisher #3987

Merged

Conversation

GeorgOfenbeck
Copy link
Contributor

In the current version the SonatypeCentralPublishModule has non intented behaviour with PublishModule.defaultGpgArgs.

It will default to the args without a passphrase and afterwards ignore the passphrase env. var as a gpgarg is already set.
To get the "correct" behaviour one has to override the args with an empty string to then pick up the "PGP_PASSPHRASE" env. arg.

Also changed the env. name to match the one from SonaTypePublisher "PGP_PASSPHRASE" -> "MILL_PGP_PASSPHRASE".

Currently pgp and gpg are getting used both in terms of naming - guessing going for gpg in the future might be more clear.

@lihaoyi
Copy link
Member

lihaoyi commented Nov 20, 2024

Thanks!

@lihaoyi lihaoyi merged commit 1a04585 into com-lihaoyi:main Nov 20, 2024
27 checks passed
@lefou lefou added this to the 0.12.3 milestone Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants