You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/12/07 10:48:42 UTC
[GitHub] [lucene] jpountz commented on a change in pull request #523: LUCENE-10293: adds a stand-alone prepareSonatypeBundle that compiles …
jpountz commented on a change in pull request #523:
URL: https://github.com/apache/lucene/pull/523#discussion_r763869267
##########
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:
This file exists for me in `lucene/distribution/build/release` but it doesn't seem to exist in the release candidates that are produced by `dev-tools/scripts/buildAndPushRelease.py`.
--
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-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org