Fixes gh-28856
@ -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) {