mirror of https://github.com/apache/lucene.git
Use -D or -P to set solrGuideVersion.
This commit is contained in:
parent
594d676a95
commit
01e97dbd16
|
@ -125,9 +125,7 @@ ext {
|
|||
solrDocsVersion = "${version}".replaceAll(/^(\d+\.\d+)(|\..*)$/, "\$1")
|
||||
solrDocsVersionPath = "${solrDocsVersion}".replaceAll(/^(\d+)\.(\d+)$/, "\$1_\$2_0")
|
||||
|
||||
if (!project.hasProperty("solrGuideVersion")) {
|
||||
solrGuideVersion = "${solrDocsVersion}-DRAFT"
|
||||
}
|
||||
solrGuideVersion = propertyOrDefault("solrGuideVersion", "${solrDocsVersion}-DRAFT")
|
||||
|
||||
solrRootPath = '../../../../solr/'
|
||||
solrGuideDraftStatus = solrGuideVersion.matches(/^\d+\.\d+(|\.\d+)$/) ? "" : "DRAFT"
|
||||
|
|
Loading…
Reference in New Issue