RussellSpitzer commented on a change in pull request #2574:
URL: https://github.com/apache/iceberg/pull/2574#discussion_r629463915



##########
File path: deploy.gradle
##########
@@ -113,8 +113,8 @@ subprojects {
         // upload to the releases repository using ./gradlew -Prelease publish
         def apacheSnapshotsRepoUrl = 
'https://repository.apache.org/content/repositories/snapshots'
         def apacheReleasesRepoUrl = 
'https://repository.apache.org/service/local/staging/deploy/maven2'
-        def snapshotsRepoUrl = project.hasProperty('mavenSnapshotsRepo') ? 
project.property('mavenSnapshotsRepo') : "$apacheSnapshotsRepoUrl"
-        def releasesRepoUrl = project.hasProperty('mavenReleasesRepo') ? 
project.property('mavenReleasesRepo') : "$apacheReleasesRepoUrl"
+        def snapshotsRepoUrl = project.hasProperty('mavenSnapshotsRepo') ? 
"$mavenSnapshotsRepo" : "$apacheSnapshotsRepoUrl"

Review comment:
       Oh the diff is just showing up weird, it shows deleting these two lines
   
   ```groovy
           def snapshotsRepoUrl = project.hasProperty('mavenSnapshotsRepo') ? 
project.property('mavenSnapshotsRepo') : "$apacheSnapshotsRepoUrl"
           def releasesRepoUrl = project.hasProperty('mavenReleasesRepo') ? 
project.property('mavenReleasesRepo') : "$apacheReleasesRepoUrl"
   ```
   
   And adding this line
   ```
           def snapshotsRepoUrl = project.hasProperty('mavenSnapshotsRepo') ? 
"$mavenSnapshotsRepo" : "$apacheSnapshotsRepoUrl"
   ```
   
   But it should show adding all 3 lines correct?
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to