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

Failure on publish #11

Closed
bjaglin opened this issue Jun 3, 2023 · 5 comments
Closed

Failure on publish #11

bjaglin opened this issue Jun 3, 2023 · 5 comments

Comments

@bjaglin
Copy link
Collaborator

bjaglin commented Jun 3, 2023

https://github.com/scalacenter/example-scalafix-rule/actions/runs/5164023440/jobs/9302676013

Error: gpg: no default secret key: No secret key
Error: gpg: signing failed: No secret key
Error: java.lang.RuntimeException: Failure running 'gpg --batch --passphrase *** --detach-sign --armor --use-agent --output /home/runner/work/example-scalafix-rule/example-scalafix-rule/scalafix/rules/target/scala-2.12/example-scalafix-rule_2.12-3.0.0.pom.asc /home/runner/work/example-scalafix-rule/example-scalafix-rule/scalafix/rules/target/scala-2.12/example-scalafix-rule_2.12-3.0.0.pom'. Exit code: 2

@bjaglin
Copy link
Collaborator Author

bjaglin commented Jun 4, 2023

@julienrf I remember I ran into a similar problem in some scalacenter repo a while ago, is that something you could help with? Thanks!

@julienrf
Copy link

julienrf commented Jun 4, 2023

I am not sure about the cause of the issue. The PGP key is supposed to expire in 2024.

@bjaglin
Copy link
Collaborator Author

bjaglin commented Jun 5, 2023

I found the previous discussion I had in mind: scalacenter/scalafix#1705 (comment). It's definitely not the same and there was no mitigation action from your side anyway, so sorry for the noise, I'll look at it later.

@bjaglin
Copy link
Collaborator Author

bjaglin commented Jun 5, 2023

After bumping sbt-ci-release to the latest version, the publishing was successful.

@julienrf what's the process for getting Scala Center Steward to keep that repo up to date?

@julienrf
Copy link

julienrf commented Jun 6, 2023

You need to add yourself to the repos.md file in this repo: https://github.com/scalacenter/steward. I just did it for example-scalafix-rule.

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

No branches or pull requests

2 participants