add option to control version of website build (#8482)

This commit is contained in:
Clint Wylie 2019-09-06 19:18:00 -07:00 committed by GitHub
parent 14a8613d69
commit 067c30c8b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -32,7 +32,13 @@
</parent>
<properties>
<!-- src repo of druid website, the artifacts of this build will be placed here -->
<website.src>../../incubator-druid-website-src</website.src>
<!--
'version' of website to build, by default it is the Druid version we are building, but can be set explicitly
to stage documentation for an unreleased version
-->
<website.version>${project.parent.version}</website.version>
</properties>
<build>
@ -78,7 +84,7 @@
<configuration>
<executable>script/build-to-docs</executable>
<arguments>
<argument>${project.parent.version}</argument>
<argument>${website.version}</argument>
<argument>${website.src}</argument>
</arguments>
</configuration>