Skip to content

Commit 6b3564c

Browse files
authored
Merge pull request #61 from cjmang/workflow_update
Updating workflows to enable releasing
2 parents 5d2480b + 773f660 commit 6b3564c

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
3737
JRELEASER_GPG_SECRET_KEY: ${{ secrets.gpgSecretKey }}
3838
# Overrides the configuration of 'NEVER'
3939
JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_RELEASE_DEPLOY_ACTIVE: 'RELEASE'
40-
JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_SNAPSHOT_DEPLOY_ACTIVE: 'NEVER'
4140
run: ./gradlew jreleaserDeploy
4241
- name: Store JReleaser Logs
4342
if: failure()

.github/workflows/snapshot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
# The content here needs to be the values of the public and secret key pair
3333
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.gpgPublicKey }}
3434
JRELEASER_GPG_SECRET_KEY: ${{ secrets.gpgSecretKey }}
35+
JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_RELEASE_DEPLOY_ACTIVE: 'NEVER'
3536
run: ./gradlew jreleaserDeploy
3637
- name: Store JReleaser Logs
3738
if: failure()

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ jreleaser {
122122
maven {
123123
mavenCentral {
124124
register("release-deploy") {
125-
// Turning off releases; supposed to be turned on via environment variable
126-
active = Active.NEVER
125+
// Releases intended to be turned on via environment variable
127126
applyMavenCentralRules = true
128127
url = "https://central.sonatype.com/api/v1/publisher"
129128
stagingRepository("build/staging-deploy")

0 commit comments

Comments
 (0)