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

Set preconditions for artifact signing #500

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andregasser
Copy link
Owner

Description

This PR fixes an issue where publishing BigBone to a local Maven repository failed because no signing configuration was present. Usually the error appeared when you tried to run one of these Gradle tasks:

  • ./gradlew publishBigbonePublicationToMavenLocal
  • ./gradlew publishBigbonePublicationToLocalBuildRepoRepository

As we do not need signing for local publications, we can safely turn this off using the changes proposed.

Type of Change

  • Bug fix

Breaking Changes

None.

How Has This Been Tested?

I ran ./gradlew publishBigbonePublicationToMavenLocal and ./gradlew publishBigbonePublicationToLocalBuildRepoRepository. Also the Github build works as expected.

Mandatory Checklist

  • I ran gradle check and there were no errors reported
  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or that my feature works
  • All tests pass locally with my changes
  • I have added KDoc documentation to all public methods

Make sure the signing task is only started if the required environment properties are set.
@andregasser andregasser added the pipeline CI/CD topics label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pipeline CI/CD topics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant