Fix links to CLI binaries in non-snapshot builds

See gh-21030
This commit is contained in:
dreis2211 2020-04-20 07:20:44 +02:00 committed by Andy Wilkinson
parent 2180d7b47a
commit 1809acc482

View File

@ -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";
}