From 52ab368069ab22aa4051b6dfd0d333a781f77d99 Mon Sep 17 00:00:00 2001 From: ShintoKosei <67397639+ShintoKosei@users.noreply.github.com> Date: Sat, 6 Apr 2024 23:15:21 +0800 Subject: [PATCH] Jump Build To Debug CI <13> --- scripts/PushToAPI.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/PushToAPI.sh b/scripts/PushToAPI.sh index cb05384..7241249 100644 --- a/scripts/PushToAPI.sh +++ b/scripts/PushToAPI.sh @@ -17,9 +17,7 @@ else channel="default" fi git tag -echo "Latest tag: $(git describe --tags --abbrev=0)" -number=$(git log --oneline ver/1.20.4 ^$(git describe --tags --abbrev=0) | wc -l) -changes=$(git log --pretty='%H<<<%s>>>' -"$number" | sed ':a;N;$!ba;s/\n//g') +changes=$(git log -1 --pretty='[{"commit": "%H", "message": "%s", "summary": "%b"}]') jar_sha256=`sha256 build/libs/luminol-1.20.4-paperclip.jar` echo "$jar_sha256" jar_name="luminol-1.20.4-paperclip.jar"