Skip to content

Commit 3560ac8

Browse files
authored
fix
1 parent bcdaf34 commit 3560ac8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pipeline.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
run: |
102102
mvn versions:set -DnewVersion=${{ needs.bump.outputs.major_version }}.${{ needs.bump.outputs.minor_version }}.${{ needs.bump.outputs.build_version }} -DgenerateBackupPoms=false
103103
- name: Build and verify with Maven 🔨
104-
run: mvn --batch-mode --update-snapshots verify -Prelease $MAVEN_ARGS
104+
run: mvn verify --batch-mode --update-snapshots -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} -DreleaseSonatype=true $MAVEN_ARGS
105105
- name: List signed files 🐞
106106
run: |
107107
echo "📦 Contents of target/:"
@@ -112,7 +112,7 @@ jobs:
112112
echo ""
113113
echo "❓ Missing POM signature?" && test ! -f target/*pom.asc && echo "❌ No POM signature found!" || echo "✅ POM is signed."
114114
- name: Publish to Maven Central
115-
run: mvn verify central-publishing:publish -Prelease -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} $MAVEN_ARGS
115+
run: mvn central-publishing:publish -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} $MAVEN_ARGS
116116
env:
117117
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
118118
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }}

0 commit comments

Comments
 (0)