diff --git a/build.gradle b/build.gradle index dae26df..40aa2de 100644 --- a/build.gradle +++ b/build.gradle @@ -42,7 +42,7 @@ buildScan { } group = "edu.wpi.first" -version = "2024.2.0" +version = "2025.0.0" base { archivesName = "DeployUtils" diff --git a/src/main/java/edu/wpi/first/deployutils/deploy/cache/Md5SumCacheMethod.java b/src/main/java/edu/wpi/first/deployutils/deploy/cache/Md5SumCacheMethod.java index 3c4788a..dd0fe55 100644 --- a/src/main/java/edu/wpi/first/deployutils/deploy/cache/Md5SumCacheMethod.java +++ b/src/main/java/edu/wpi/first/deployutils/deploy/cache/Md5SumCacheMethod.java @@ -17,7 +17,6 @@ import java.util.Map; import java.util.Optional; import java.util.Set; -import java.util.UUID; import java.util.stream.Collectors; import javax.inject.Inject; @@ -85,9 +84,7 @@ public Set needsUpdate(DeployContext context, Map files) { log.debug(localChecksums); } - String tmpFileName = "_tmp" + UUID.randomUUID().toString().toLowerCase().replace("-", "") + ".et.md5"; - - String result = context.execute("echo '" + localChecksums + "' > " + tmpFileName + " && md5sum -c " + tmpFileName + " 2> /dev/null; rm " + tmpFileName).getResult(); + String result = context.execute("echo '" + localChecksums + "' | md5sum -c 2> /dev/null").getResult(); if (log.isDebugEnabled()) { log.debug("Remote Checksums " + cs + ":"); diff --git a/testing/cpp/build.gradle b/testing/cpp/build.gradle index 154428b..bad06fd 100644 --- a/testing/cpp/build.gradle +++ b/testing/cpp/build.gradle @@ -1,5 +1,5 @@ plugins { - id "edu.wpi.first.DeployUtils" version "2024.2.0" + id "edu.wpi.first.DeployUtils" version "2025.0.0" } deploy {