From f1713c115596b19aafb3f1c2b1e1da7630b21e85 Mon Sep 17 00:00:00 2001 From: Ryo Arima Date: Sat, 7 Sep 2024 22:11:42 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tool/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/main.sh b/tool/main.sh index ed78bd0..447867f 100755 --- a/tool/main.sh +++ b/tool/main.sh @@ -144,7 +144,7 @@ function push-rpm(){ } function update-readme(){ - RUN_ID=$(gh run list --limit 1 --json databaseId,status --jq '.[0].databaseId') + RUN_ID=$(gh run list --json databaseId,status,name --jq 'limit(1; .[] | select(.name == "Release")) | .databaseId') gh run view $RUN_ID --json jobs --jq '[.jobs[] | {name: .name, conclusion: .conclusion}]' > status.json rm -f ./docs/readme/status.md