Skip to content

GPG fails to sign because settings.xml isn't written #120

@tcurdt

Description

@tcurdt

Description:

I am trying push a release to Maven Central but I am getting

gpg: signing failed: Bad passphrase

Looking at the file system it seems like the settings.xml is not getting written.

Task version:
Specify the task version

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:

https://github.com/tcurdt/jdependency/blob/master/.github/workflows/release-ossrh.yml

Expected behavior:

It would be nice to have some log output that the settings.xml gets written - and where it actually gets written to.
That would also confirm it actually gets written.

Actual behavior:

It looks like the settings.xml is missing - which is why the signing fails.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions