mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
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
This commit is contained in:
parent
b50e8eb3aa
commit
5e028599f0
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user