uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 90a17cd6a1e8b6c75eea3320d6ee2fbfce247e29
parent 01bdd950aaa809594ee2d03834f53d1b520383ba
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Fri, 15 Oct 2021 00:17:43 +0100

Only upload binaries when main branch is built.

Diffstat:
M.build.yml | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/.build.yml b/.build.yml @@ -33,6 +33,7 @@ tasks: ssh mac "rm -f uxn-macos.tar.gz; export PATH=\"\${PATH}:/usr/local/bin\"; set -ex; cd uxn; git fetch; git checkout .; git clean -xfd; git checkout $(cd uxn && git rev-parse HEAD); ./build.sh --no-run; mv bin uxn; tar -zcf ../uxn-macos.tar.gz uxn" rsync mac:uxn-macos.tar.gz out/ - upload: | + if [ "$(cd uxn && git rev-parse HEAD)" != "$(cat uxn/.git/refs/remotes/origin/main)" ]; then exit; fi ls -l out tar -czf out.tar.gz -C out uxn-linux-amd64.tar.gz uxn-windows-64bit.zip uxn-macos.tar.gz acurl() {