mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Fix links to CLI binaries in non-snapshot builds
See gh-21030
This commit is contained in:
parent
2180d7b47a
commit
1809acc482
@ -156,7 +156,7 @@ class AsciidoctorConventions {
|
||||
|
||||
private String determineArtifactoryRepo(Project project) {
|
||||
String version = project.getVersion().toString();
|
||||
String type = version.substring(version.lastIndexOf('.'));
|
||||
String type = version.substring(version.lastIndexOf('.') + 1);
|
||||
if (type.equals("RELEASE")) {
|
||||
return "release";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user