mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Fix link to source code in snapshot documentation
Fixes gh-28856
This commit is contained in:
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…
Reference in New Issue
Block a user