File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101
101
run : |
102
102
mvn versions:set -DnewVersion=${{ needs.bump.outputs.major_version }}.${{ needs.bump.outputs.minor_version }}.${{ needs.bump.outputs.build_version }} -DgenerateBackupPoms=false
103
103
- 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
105
105
- name : List signed files 🐞
106
106
run : |
107
107
echo "📦 Contents of target/:"
@@ -112,7 +112,7 @@ jobs:
112
112
echo ""
113
113
echo "❓ Missing POM signature?" && test ! -f target/*pom.asc && echo "❌ No POM signature found!" || echo "✅ POM is signed."
114
114
- 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
116
116
env :
117
117
MAVEN_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
118
118
MAVEN_CENTRAL_TOKEN : ${{ secrets.SONATYPE_PASSWORD }}
You can’t perform that action at this time.
0 commit comments