Skip to content

Commit af9dea5

Browse files
authored
Adds a fix to correctly activate the Central release profile (#773)
1 parent 5da8c1b commit af9dea5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/central-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: mvn --batch-mode versions:set -DnewVersion=${{ github.event.release.tag_name }} -DgenerateBackupPoms=false
2828

2929
- name: Publish to Central
30-
run: mvn --batch-mode deploy -DskipTests -PperformRelease=true
30+
run: mvn --batch-mode deploy -DskipTests -PMavenCentral
3131
env:
3232
MAVEN_USERNAME: ${{ secrets.CENTRAL_SONATYPE_TOKEN_USERNAME }}
3333
MAVEN_PASSWORD: ${{ secrets.CENTRAL_SONATYPE_TOKEN_PASSWORD }}

.github/workflows/central-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
gpg-passphrase: MAVEN_GPG_PASSPHRASE
4040

4141
- name: Publish package
42-
run: mvn --batch-mode deploy -DskipTests -PperformRelease=true
42+
run: mvn --batch-mode deploy -DskipTests -PMavenCentral
4343
env:
4444
MAVEN_USERNAME: ${{ secrets.CENTRAL_SONATYPE_TOKEN_USERNAME }}
4545
MAVEN_PASSWORD: ${{ secrets.CENTRAL_SONATYPE_TOKEN_PASSWORD }}

0 commit comments

Comments
 (0)