Rename plugin PDF reference doc files

This commit renames the PDF documentation files generated for the
build plugins when the distribution archive is created.

See gh-20829
This commit is contained in:
Scott Frederick 2020-04-03 15:50:23 -05:00
parent f40444e212
commit c119dd2450
2 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,7 @@ task zip(type: Zip) {
duplicatesStrategy "fail"
from(asciidoctorPdf.outputDir) {
into "reference/pdf"
rename "index.pdf", "${project.name}-reference.pdf"
}
from(asciidoctor.outputDir) {
into "reference/html"

View File

@ -99,6 +99,7 @@ task zip(type: Zip) {
duplicatesStrategy "fail"
from(asciidoctorPdf.outputDir) {
into "reference/pdf"
rename "index.pdf", "${project.name}-reference.pdf"
}
from(asciidoctor.outputDir) {
into "reference/html"