aboutsummaryrefslogtreecommitdiff
path: root/aux/ci/git-post-receive.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-07-16 00:41:51 -0300
committerEuAndreh <eu@euandre.org>2021-07-16 09:00:34 -0300
commit785f0880dd5b80d16eb8933b55261594f5d336d9 (patch)
tree06b35c4bfe0db6ac3018975d7223cbbc0f9d38ea /aux/ci/git-post-receive.sh
parentaux/ci/: Run sh files with sh instead of ./ (diff)
downloadgit-permalink-785f0880dd5b80d16eb8933b55261594f5d336d9.tar.gz
git-permalink-785f0880dd5b80d16eb8933b55261594f5d336d9.tar.xz
aux/ci/git-post-receive.sh: Emit retrigger instruction even when build fails
Diffstat (limited to 'aux/ci/git-post-receive.sh')
-rwxr-xr-xaux/ci/git-post-receive.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/aux/ci/git-post-receive.sh b/aux/ci/git-post-receive.sh
index 24f40ef..b064361 100755
--- a/aux/ci/git-post-receive.sh
+++ b/aux/ci/git-post-receive.sh
@@ -13,7 +13,7 @@ read -r _ SHA _ # oldrev newrev refname
PROJECT="$(basename "$PWD" | cut -d. -f1)" # remove .git suffix
LOGS_DIR="/opt/ci/$PROJECT/logs"
-sh "/opt/ci/$PROJECT/ci-build.sh" "$PROJECT" "$LOGS_DIR" "$SHA"
+sh "/opt/ci/$PROJECT/ci-build.sh" "$PROJECT" "$LOGS_DIR" "$SHA" ||:
echo 'To retrigger the build, run:'
echo "cd /srv/git/$PROJECT.git/"