mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +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) {
|
private String determineArtifactoryRepo(Project project) {
|
||||||
String version = project.getVersion().toString();
|
String version = project.getVersion().toString();
|
||||||
String type = version.substring(version.lastIndexOf('.'));
|
String type = version.substring(version.lastIndexOf('.') + 1);
|
||||||
if (type.equals("RELEASE")) {
|
if (type.equals("RELEASE")) {
|
||||||
return "release";
|
return "release";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user