From 2f984fdaeb4609a4e7df7d8321b0bae7265cbe6c Mon Sep 17 00:00:00 2001 From: 6arelyFuture Date: Sun, 28 Apr 2024 09:46:01 +0000 Subject: [PATCH] maint: make the script fail if apps returns non 0 --- .gitea/scripts/ci.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/scripts/ci.sh b/.gitea/scripts/ci.sh index 2bd0eb2..3dba38e 100755 --- a/.gitea/scripts/ci.sh +++ b/.gitea/scripts/ci.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + if [[ -z "$OAT_VERSION" ]]; then echo "No OAT version was specified, please set the OAT_VERSION environment variable." exit 1