Commit f2e74deb authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #21030 from dreis2211

* gh-21030:
  Fix links to CLI binaries in non-snapshot builds

Closes gh-21030
parents 2180d7b4 1809acc4
...@@ -156,7 +156,7 @@ class AsciidoctorConventions { ...@@ -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";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment