commit f1c4f74e0a4c46db6881a497d565dc5ec7696e22
parent 90a17cd6a1e8b6c75eea3320d6ee2fbfce247e29
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Fri, 15 Oct 2021 00:20:57 +0100
Fixed git introspection
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build.yml b/.build.yml
@@ -33,7 +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
+ if [ "$(cd uxn && git rev-parse HEAD)" != "$(cd uxn && git rev-parse 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() {