~xdavidwu/apkbuilds

1debf27dd3c4abc10e0a36cb89577b7ffa6b1208 — Pinghao Wu 27 days ago b832c52 main
submit-build: move to hut
1 files changed, 2 insertions(+), 2 deletions(-)

M submit-build
M submit-build => submit-build +2 -2
@@ 3,10 3,10 @@ set -e

if [ "$1" = "-n" ]; then
	extra="| del(.tasks[] | select(.deploy))"
	extra_note="(test)\ "
	extra_note="(test) "
	shift
fi

pkg=$(basename "$1")
. "$pkg"/APKBUILD
yq ".environment.package = \"$pkg\" $extra" < build.yml | ssh builds@builds.xdavidwu.link "submit -n$extra_note$pkgname\ $pkgver-r$pkgrel -t apkbuilds -t $pkgname"
yq ".environment.package = \"$pkg\" $extra" < build.yml | hut builds submit -n"$extra_note$pkgname $pkgver-r$pkgrel" -t "apkbuilds/$pkgname" -