From 34f96514ad3ac01ad1a349ab0e37bc48365c007a Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Mon, 20 Dec 2021 10:49:07 -0800 Subject: [PATCH] Fix link to source code in snapshot documentation Fixes gh-28856 --- .../org/springframework/boot/build/AsciidoctorConventions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {