From 2f272adb31e5ef5e6f9fd6801db32f6663b9db23 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 24 Jul 2024 11:39:57 -0700 Subject: [PATCH] fix(ci): fix commit param number in mg.sh (#1628) (#1630) I can't count :nami: Signed-off-by: madomado (cherry picked from commit d7fcfc5854e0224ef30e388da44a9653406bc359) Co-authored-by: madomado --- .github/workflows/mg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mg.sh b/.github/workflows/mg.sh index 7c2ffa0e74..64402b1718 100755 --- a/.github/workflows/mg.sh +++ b/.github/workflows/mg.sh @@ -2,7 +2,7 @@ set -x dirs=$2 dirs=${dirs/\/pkg/} -export p="{\"id\":\"$5\",\"ver\":\"%v\",\"rel\":\"%r\",\"arch\":\"$4\",\"dirs\":\"$dirs\",\"succ\":$1,\"commit\":\"$6\"}" +export p="{\"id\":\"$5\",\"ver\":\"%v\",\"rel\":\"%r\",\"arch\":\"$4\",\"dirs\":\"$dirs\",\"succ\":$1,\"commit\":\"$7\"}" if [[ $1 == false ]]; then d=${p/\%v/?}