This is an automated email from the ASF dual-hosted git repository.
emaynard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new 1d21dc951 Use .sha512 extension instead of -sha512 (#1449)
1d21dc951 is described below
commit 1d21dc95109cd8c9fe9f0282c17bda8497cb7d74
Author: JB Onofré <[email protected]>
AuthorDate: Fri Apr 25 06:37:36 2025 +0200
Use .sha512 extension instead of -sha512 (#1449)
---
build-logic/src/main/kotlin/publishing/digest-task.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build-logic/src/main/kotlin/publishing/digest-task.kt
b/build-logic/src/main/kotlin/publishing/digest-task.kt
index b0b62a590..a1f173daf 100644
--- a/build-logic/src/main/kotlin/publishing/digest-task.kt
+++ b/build-logic/src/main/kotlin/publishing/digest-task.kt
@@ -39,7 +39,7 @@ abstract class GenerateDigest @Inject
constructor(objectFactory: ObjectFactory)
objectFactory.fileProperty().convention {
val input = file.get().asFile
val algo = algorithm.get()
- input.parentFile.resolve("${input.name}-${algo.replace("-",
"").lowercase()}")
+ input.parentFile.resolve("${input.name}.${algo.replace("-",
"").lowercase()}")
}
@TaskAction