Skip to content

Commit 1d21dc9

Browse files
authored
Use .sha512 extension instead of -sha512 (#1449)
1 parent 0d72b03 commit 1d21dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-logic/src/main/kotlin/publishing/digest-task.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ abstract class GenerateDigest @Inject constructor(objectFactory: ObjectFactory)
3939
objectFactory.fileProperty().convention {
4040
val input = file.get().asFile
4141
val algo = algorithm.get()
42-
input.parentFile.resolve("${input.name}-${algo.replace("-", "").lowercase()}")
42+
input.parentFile.resolve("${input.name}.${algo.replace("-", "").lowercase()}")
4343
}
4444

4545
@TaskAction

0 commit comments

Comments
 (0)