~xdavidwu/aurbuild

f9fedb3e4623c7babf02f456f5854d529106f9d0 — xdavidwu 2 years ago ec4d8d0
add script for manual submission
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")"