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

Publish snapshot builds #410

Merged
merged 4 commits into from
Apr 4, 2023
Merged

Publish snapshot builds #410

merged 4 commits into from
Apr 4, 2023

Conversation

itsaky
Copy link
Contributor

@itsaky itsaky commented Apr 4, 2023

This PR adds configuration for publishing SNAPSHOT builds to Maven Central.

Version format

The SNAPSHOT builds have the following version name format <release-version>-<commit-hash>-SNAPSHOT where :

  • <release-version> - Release version name.
  • <commit-hash> - The commit hash of the SNAPSHOT build.

This version name format is only used for CI builds.

Secrets

You need to setup the following repository secrets in order to publish the builds :

Secret Value Mapped to environment variable
MVN_USERNAME Maven central username ORG_GRADLE_PROJECT_mavenCentralUsername
MVN_PASSWORD Maven central password ORG_GRADLE_PROJECT_mavenCentralPassword
MVN_SIGNING_KEY In-memory signing key ORG_GRADLE_PROJECT_signingInMemoryKey
MVN_SIGNING_KEY_ID Signing key ID ORG_GRADLE_PROJECT_signingInMemoryKeyId
MVN_SIGNING_KEY_PASSWORD Signing key password ORG_GRADLE_PROJECT_signingInMemoryKeyPassword

More information can be found here.

@Rosemoe Rosemoe merged commit a389dd2 into Rosemoe:main Apr 4, 2023
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.

2 participants