From e3b372e643be2f7d61b1d8d4eeada07d712f30ca Mon Sep 17 00:00:00 2001 From: Karlatemp Date: Wed, 4 May 2022 17:22:52 +0800 Subject: [PATCH] Fix snapshot page uploading --- buildSrc/src/main/kotlin/UpdateSnapshotPage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/UpdateSnapshotPage.kt b/buildSrc/src/main/kotlin/UpdateSnapshotPage.kt index 235ef3286..ee4d0fd14 100644 --- a/buildSrc/src/main/kotlin/UpdateSnapshotPage.kt +++ b/buildSrc/src/main/kotlin/UpdateSnapshotPage.kt @@ -28,7 +28,7 @@ object UpdateSnapshotPage { } val content = JsonObject().also { data -> data.addProperty("name", "Snapshot Build Output") - data.addProperty("head_sha", sha) + data.addProperty("head_sha", sha.trim()) data.addProperty("conclusion", "success") data.add("output", JsonObject().also { output -> output.addProperty("title", "Snapshot build ($ver)")