Commit 5e028599 authored by Phillip Webb's avatar Phillip Webb

Change PDF rename logic

Rework the rename logic used to include the reference PDF to try
and workaround the following local build error:

	Encountered duplicate path "reference/pdf/spring-boot-reference.pdf"
	during copy operation configured with DuplicatesStrategy.FAIL

See gh-20829
parent b50e8eb3
......@@ -240,7 +240,8 @@ task zip(type: Zip) {
}
from(asciidoctorPdf.outputDir) {
into "reference/pdf"
rename "index.pdf", "spring-boot-reference.pdf"
include "index.pdf"
rename { "spring-boot-reference.pdf" }
}
from(asciidoctorMultipage.outputDir) {
into "reference/html"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment