feat(ci): add debug to mg.sh (#367)

Signed-off-by: madomado <wboy111@outlook.com>
This commit is contained in:
madomado
2023-04-10 06:22:36 +08:00
committed by GitHub
parent bc78326b0c
commit 3ee61c35aa
+3 -2
View File
@@ -1,3 +1,5 @@
set -x
if $1; then
dirs=$2
dirs=${dirs/\/pkg/}
@@ -11,6 +13,5 @@ for f in anda-build/rpm/rpms/*; do
r=$(lesspipe.sh $f | grep -E "Release\s*: " | sed "s@Release\s*: @@")
d=${p/\%v/$v}
d=${d/\%r/$r}
curl -H "Authorization: Bearer $6" https://madoguchi.fyralabs.com/ci/terra$3/builds/$n -X PUT -H "Content-Type: application/json" -d $d --fail-with-body &
curl -H "Authorization: Bearer $6" https://madoguchi.fyralabs.com/ci/terra$3/builds/$n -X PUT -H "Content-Type: application/json" -d $d --fail-with-body
done
wait