fix(ci): mg.sh should use new ci5 endpoint (#1607) (#1620)

Signed-off-by: madomado <madonuko@outlook.com>
(cherry picked from commit 0836405a44)

Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
Raboneko
2024-07-24 09:34:45 -07:00
committed by GitHub
parent 20de58b996
commit e7ad884a00
+1 -1
View File
@@ -17,5 +17,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/ci5/terra$3/builds/$n -X PUT -H "Content-Type: application/json" -d $d --fail-with-body
done