hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 68dc855c61e9898991b859596a8b4aaff9fcbe05
parent 159c89f959899e30828fc556e942e41f768e3f7e
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 31 Dec 2023 18:20:34 +0100

.builds/*: exit on non-master builds

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
M.builds/alpine.yml | 6+++++-
M.builds/freebsd.yml | 5+++++
M.builds/openbsd.yml | 5+++++
3 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/.builds/alpine.yml b/.builds/alpine.yml @@ -11,7 +11,11 @@ triggers: condition: failure to: "<~sircmpwn/hare-dev@lists.sr.ht>" tasks: -- signoff: | +- environment: | + if [ "$BUILD_SUBMITTER" = "git.sr.ht" ] && [ "$GIT_REF" != "refs/heads/master" ] + then + complete-build + fi cd hare if [ "$BUILD_REASON" = "patchset" ] then diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml @@ -11,6 +11,11 @@ triggers: condition: failure to: "<~sircmpwn/hare-dev@lists.sr.ht>" tasks: +- environment: | + if [ "$BUILD_SUBMITTER" = "git.sr.ht" ] && [ "$GIT_REF" != "refs/heads/master" ] + then + complete-build + fi - qbe: | cd qbe make -j2 CC=cc PREFIX=/usr diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml @@ -12,6 +12,11 @@ triggers: condition: failure to: "<~sircmpwn/hare-dev@lists.sr.ht>" tasks: +- environment: | + if [ "$BUILD_SUBMITTER" = "git.sr.ht" ] && [ "$GIT_REF" != "refs/heads/master" ] + then + complete-build + fi - qbe: | cd qbe make -j2 PREFIX=/usr