Merge pull request #21030 from dreis2211
* gh-21030: Fix links to CLI binaries in non-snapshot builds Closes gh-21030
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user