Fix link to source code in snapshot documentation

Fixes gh-28856
pull/29161/head
Madhura Bhave 3 years ago
parent 99e650bd27
commit 34f96514ad

@ -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) {

Loading…
Cancel
Save