~xdavidwu/systemd-apkbuilds

ref: e2243997cb6533aca8a2b305abe35d5139ed4cce systemd-apkbuilds/submit-build -rwxr-xr-x 330 bytes
e2243997Pinghao Wu systemd: trim ipe 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

if [ "$1" = "-n" ]; then
	extra="| del(.tasks[] | select(.deploy))"
	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 systemd-apkbuilds -t $pkgname"