Fix links to CLI binaries in non-snapshot builds

See gh-21030
pull/21040/head
dreis2211 5 years ago committed by Andy Wilkinson
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…
Cancel
Save