Package com.avrix.utils
Class ReleaseUtils
java.lang.Object
com.avrix.utils.ReleaseUtils
Utility class for checking the latest release version of Avrix from GitHub.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Checks the latest version of Avrix available on GitHub.static CompletableFuture<String>
Gets the latest release version of Avrix from GitHub.
-
Field Details
-
API_URL
URL for the GitHub API to get the latest release information.- See Also:
-
RELEASE_URL
URL latest release pages- See Also:
-
-
Constructor Details
-
ReleaseUtils
public ReleaseUtils()
-
-
Method Details
-
checkLatestVersion
public static void checkLatestVersion()Checks the latest version of Avrix available on GitHub. If a newer version is found, prints a message to the console. -
getLatestReleaseVersion
Gets the latest release version of Avrix from GitHub.- Returns:
- A CompletableFuture containing the latest release version as a String.
-