mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-03 18:32:18 +00:00
feat(ci): add debug to mg.sh (#367)
Signed-off-by: madomado <wboy111@outlook.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user