From 1debf27dd3c4abc10e0a36cb89577b7ffa6b1208 Mon Sep 17 00:00:00 2001
From: Pinghao Wu <xdavidwuph@gmail.com>
Date: Thu, 6 Mar 2025 10:22:58 +0800
Subject: [PATCH] submit-build: move to hut

---
 submit-build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/submit-build b/submit-build
index c8bdf6b..51c416d 100755
--- a/submit-build
+++ b/submit-build
@@ -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" -
-- 
2.45.2