File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 $MAVEN_ARGS 
104+         run : mvn --batch-mode --update-snapshots verify -Prelease  $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 -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} $MAVEN_ARGS 
115+         run : mvn verify central-publishing:publish -Prelease - Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} $MAVEN_ARGS 
116116        env :
117117          MAVEN_USERNAME : ${{ secrets.SONATYPE_USERNAME }} 
118118          MAVEN_CENTRAL_TOKEN : ${{ secrets.SONATYPE_PASSWORD }} 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments