Optional<String> validateResponse(String currentVersion) {
    if (currentVersion != null && currentVersion.matches("\\d+(.\\d+)*")) {
      return Optional.of(currentVersion);
    } else {
      return Optional.empty();
    }
  }
Check latest released version.

@return Latest released version
@throws IOException
olv-core/src/main/java/pl/otros/logview/updater/VersionUtil.java