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

Deploy releases to SonatypeOSS (staging repo) instead of Bintray #182

Merged
merged 2 commits into from
Mar 29, 2021

Conversation

simonbasle
Copy link
Member

This commit switches the target of GA release deployments from Bintray
to Sonatype OSS / Maven Central (triggering the creation of a staging
repository, but not the closure and promotion of said repository).

This will ensure releases can be performed past Bintray's sunset.

Since Maven Central requires signed artifacts, the signing plugin is
added to the mix. As a core Gradle plugin, it is trusted enough to have
access to the relevant secrets.

This change also relies on the release environment in GitHub having
additional secrets (GPG signing key+passphrase, Sonatype credentials).

This commit switches the target of GA release deployments from Bintray
to Sonatype OSS / Maven Central (triggering the creation of a staging
repository, but not the closure and promotion of said repository).

This will ensure releases can be performed past Bintray's sunset.

Since Maven Central requires signed artifacts, the `signing` plugin is
added to the mix. As a core Gradle plugin, it is trusted enough to have
access to the relevant secrets.

This change also relies on the `release` environment in GitHub having
additional secrets (GPG signing key+passphrase, Sonatype credentials).
@simonbasle simonbasle added type/chore A task not related to code (build, formatting, process, ...) type/enhancement A general enhancement labels Mar 25, 2021
@simonbasle simonbasle self-assigned this Mar 25, 2021
@simonbasle simonbasle requested a review from a team March 25, 2021 16:16
@simonbasle
Copy link
Member Author

@simonbasle simonbasle added this to the 1.0.5.RELEASE milestone Mar 25, 2021
@simonbasle simonbasle merged commit 2a9ce0d into master Mar 29, 2021
@simonbasle simonbasle deleted the deployToCentralSonatype branch March 29, 2021 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/chore A task not related to code (build, formatting, process, ...) type/enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants