diff --git a/buildSrc/src/main/java/org/springframework/boot/build/AsciidoctorConventions.java b/buildSrc/src/main/java/org/springframework/boot/build/AsciidoctorConventions.java index 2c00c50039..ca947076fe 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/AsciidoctorConventions.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/AsciidoctorConventions.java @@ -138,7 +138,7 @@ class AsciidoctorConventions { private String determineGitHubTag(Project project) { String version = "v" + project.getVersion(); - return (version.endsWith("-SNAPSHOT")) ? "main" : version; + return (version.endsWith("-SNAPSHOT")) ? "2.5.x" : version; } private void configureOptions(AbstractAsciidoctorTask asciidoctorTask) {