Skip to content

Commit

Permalink
Simplify the bundle creation
Browse files Browse the repository at this point in the history
  • Loading branch information
hfhbd committed Sep 29, 2024
1 parent 7939530 commit 0e16c1c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gradle/build-logic/src/main/kotlin/UploadSignatures.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ abstract class UploadSignatures : DefaultTask() {
"/repos/${githubRepository.get()}/attestations"
) {
//language=json
val bundle = """
{ "bundle": ${file.readText()} }
""".trimIndent()
setBody(bundle)
setBody("""{ "bundle": ${file.readText()} }""")
}
}
}
Expand Down

0 comments on commit 0e16c1c

Please sign in to comment.