Skip to content

Commit

Permalink
Release 2.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Sep 21, 2022
1 parent ab55d07 commit 4f26561
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ logger.lifecycle("""
*******************************************
""")

var rootVersion by extra("2.4.5")
var rootVersion by extra("2.4.6")
var snapshot by extra("SNAPSHOT")
var revision: String by extra("")
var buildNumber by extra("")
Expand All @@ -41,7 +41,7 @@ ext {
}
}

version = String.format("%s-%s", rootVersion, buildNumber)
version = String.format("%s", rootVersion)

if (!project.hasProperty("gitCommitHash")) {
apply(plugin = "org.ajoberstar.grgit")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ private static long getDistance(BufferedImage image, int c1) {
*
* @return {@link VersionMetadata} containing the id (= version) and url to the client manifest itself
* @throws IOException If any http / i/o operation fails.
* @since TODO
* @since 2.4.6
*/
private static VersionMetadata getLatestVersion() throws IOException {
try (BufferedInputStream in = new BufferedInputStream(new URL(VERSION_MANIFEST).openStream());
Expand All @@ -624,7 +624,7 @@ private static VersionMetadata getLatestVersion() throws IOException {
* @param metadata The version metadata containing the url to the client.jar
* @return The full url to the client.jar including the expected file hash for validation purposes
* @throws IOException If any http / i/o operation fails.
* @since TODO
* @since 2.4.6
*/
private static HashedResource getLatestClientJarUrl(VersionMetadata metadata) throws IOException {
try (BufferedInputStream in = new BufferedInputStream(new URL(metadata.url()).openStream());
Expand All @@ -642,7 +642,7 @@ private static HashedResource getLatestClientJarUrl(VersionMetadata metadata) th
* @return The hash of the file contents
* @throws NoSuchAlgorithmException If the SHA-1 algorithm could not be resolved
* @throws IOException If any I/O operation failed
* @since TODO
* @since 2.4.6
*/
private static String calculateSha1(Path path) throws NoSuchAlgorithmException, IOException {
MessageDigest digest = MessageDigest.getInstance("SHA-1");
Expand Down

0 comments on commit 4f26561

Please sign in to comment.