1 files changed, 12 insertions(+), 0 deletions(-)
A submit-build
A submit-build => submit-build +12 -0
@@ 0,0 1,12 @@
+#!/bin/sh
+
+
+dispatch() {
+ yq ".sources += [\"https://aur.archlinux.org/$1.git\"] |
+ .environment.pkgbase = \"$1\"
+ " < build.yml | ssh builds@builds.xdavidwu.link "submit -n$1\ (manual) -t aurbuild -t $1"
+}
+
+[ ! -d "$1" ] && exit 1
+
+dispatch "$(basename "$1")"