Skip to content

Commit

Permalink
7.5.12
Browse files Browse the repository at this point in the history
- fix early access builds / betas like version 21 not getting fetched
  • Loading branch information
Osiris-Team committed Feb 26, 2024
1 parent 1fb2133 commit 143c603
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>com.osiris.autoplug.client</groupId>
<artifactId>autoplug-client</artifactId>
<version>7.5.11</version>
<version>7.5.12</version>
<packaging>jar</packaging>

<name>AutoPlug-Client</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ public String getVersionInformationUrl(String releaseVersionName, OperatingSyste
String jvmImplementation = isHotspotImpl ? "hotspot" : "openj9";
String heapSize = isLargeHeapSize ? "large" : "normal";
return log(START_ASSETS_URL
+ "%5B" // [ // Wrap version inside [] (in url encoded format) so that we get an exact match, see: https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html
+ "%28%2C" // [ // Wrap version inside (,] (in url encoded format) so that we get an exact match, or older version, see: https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html
// Note that we do not encapsulate in [], since SOMEHOW the provided latest version from the other API endpoint
// does sometimes not exist?
+ releaseVersionName
.replace(".LTS", "")
.replace(".EA", "")
Expand Down

0 comments on commit 143c603

Please sign in to comment.