Skip to content

Commit

Permalink
Added 'v' to version checker string
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-D-Anderson committed Nov 10, 2021
1 parent 9ea44e3 commit 6218f2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public boolean shouldUpdate() {
this.latestReleaseUrl = redirectUrl;
String[] redirectUrlElements = redirectUrl.split("/");
String latestVersion = redirectUrlElements[redirectUrlElements.length - 1];
return !currentVersion.equals(latestVersion);
return !currentVersion.equals("v" + latestVersion);
} catch (Exception e) {
return false;
}
Expand Down

0 comments on commit 6218f2a

Please sign in to comment.