Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
JRELEASER_GPG_SECRET_KEY: ${{ secrets.gpgSecretKey }}
# Overrides the configuration of 'NEVER'
JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_RELEASE_DEPLOY_ACTIVE: 'RELEASE'
JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_SNAPSHOT_DEPLOY_ACTIVE: 'NEVER'
run: ./gradlew jreleaserDeploy
- name: Store JReleaser Logs
if: failure()
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
# The content here needs to be the values of the public and secret key pair
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.gpgPublicKey }}
JRELEASER_GPG_SECRET_KEY: ${{ secrets.gpgSecretKey }}
JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_RELEASE_DEPLOY_ACTIVE: 'NEVER'
run: ./gradlew jreleaserDeploy
- name: Store JReleaser Logs
if: failure()
Expand Down
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ jreleaser {
maven {
mavenCentral {
register("release-deploy") {
// Turning off releases; supposed to be turned on via environment variable
active = Active.NEVER
// Releases intended to be turned on via environment variable
applyMavenCentralRules = true
url = "https://central.sonatype.com/api/v1/publisher"
stagingRepository("build/staging-deploy")
Expand Down