From b864a85580cdb842c26eb1e590a34fb0fb686ed1 Mon Sep 17 00:00:00 2001 From: Klop233 <3337913379@qq.com> Date: Sat, 13 Apr 2024 09:28:53 +0800 Subject: [PATCH] update --- scripts/PushToAPI.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/PushToAPI.sh b/scripts/PushToAPI.sh index 012e39c..ca3e08b 100644 --- a/scripts/PushToAPI.sh +++ b/scripts/PushToAPI.sh @@ -16,7 +16,7 @@ if [ $pre = "true" ]; then else channel="default" fi -changes=$(git log -1 --pretty="[{\"commit\": \"%H\", \"message\": \"%s\", \"summary\": \"%b\"}]") +changes=$(git log -1 --pretty="[{\\\"commit\\\": \\\"%H\\\", \\\"message\\\": \\\"%s\\\", \\\"summary\\\": \\\"%b\\\"}]") jar_sha256=`sha256 build/libs/luminol-1.20.4-paperclip.jar` jar_name="luminol-1.20.4-paperclip.jar" ctime=$(date -u +"%s")"000"