dweiss commented on a change in pull request #523:
URL: https://github.com/apache/lucene/pull/523#discussion_r763878796



##########
File path: lucene/distribution/build.gradle
##########
@@ -126,3 +126,31 @@ tasks.matching {it.name in [
 ]}.all {
   group "distribution"
 }
+
+// Prepare a sonatype ZIP bundle with all maven artifacts.
+task prepareSonatypeBundle(type: Zip) {
+  description "Prepare Sonatype Nexus ZIP bundle with all Maven artifacts. 
Requires -Prelease.dir=..."
+
+  destinationDirectory = file("${buildDir}/sonatype")
+  archiveFileName = "artifact-bundle-lucene.zip"
+
+  from({ ->
+    def releaseDir = propertyOrDefault("release.dir", null)
+    if (releaseDir == null) {
+      throw new GradleException("Pass an explicit release directory path with 
-Prelease.dir=...")
+    }
+    if (!file("${releaseDir}/.gitrev").exists()) {

Review comment:
       {code}
   svn ls 
https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC4-rev-0b18b3b965cedaf5eb129aa41243a44c83ca826d/lucene/@51161
   changes/
   lucene-9.0.0-src.tgz
   lucene-9.0.0-src.tgz.asc
   lucene-9.0.0-src.tgz.sha512
   lucene-9.0.0.tgz
   lucene-9.0.0.tgz.asc
   lucene-9.0.0.tgz.sha512
   maven/
   {code}
   It seems like it's not in svn, even though it definitely is created locally. 
I suspect svn add is skipping it for some reason?




-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to